CVE-2025-12118
WordPress vulnerability analysis and mitigation

Overview

The Schema Scalpel WordPress plugin contains a Stored Cross-Site Scripting vulnerability (CVE-2025-12118) affecting all versions up to and including 1.6.1. The vulnerability was discovered and reported by Wordfence, with public disclosure on October 31, 2025. The issue exists due to insufficient input sanitization and output escaping when handling user-supplied data in JSON-LD schema markup (NVD CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) with a CVSS v3.1 base score of 6.4 (Medium). The technical issue stems from improper sanitization of post titles when outputting them into JSON-LD schema markup. The vulnerability has been assigned the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, indicating network accessibility, low attack complexity, and required low privileges (NVD CVE, Wordfence Report).

Impact

The vulnerability allows authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages. These malicious scripts will execute whenever a user accesses an affected page, potentially leading to data theft, session hijacking, or other client-side attacks (NVD CVE).

Mitigation and workarounds

A security fix has been implemented in the project repository that includes sanitizing page titles using sanitize_text_field() before JSON encoding and implementing wp_json_encode() with JSON_HEX_* flags for safe output escaping (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14977HIGH8.1
  • dokan-lite
NoYesJan 20, 2026
CVE-2025-14348MEDIUM5.3
  • wemail
NoYesJan 20, 2026
CVE-2026-1045MEDIUM4.4
  • viet-contact
NoNoJan 20, 2026
CVE-2026-1042MEDIUM4.4
  • wp-hello-bar
NoNoJan 20, 2026
CVE-2025-12573N/AN/A
  • bookingor
NoNoJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management