CVE-2025-12118: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kevingillispie Schema Scalpel
The Schema Scalpel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post title in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping when outputting user-supplied data into JSON-LD schema markup. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-12118 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Schema Scalpel plugin for WordPress, affecting all versions up to and including 1.6.1. The root cause is insufficient sanitization and escaping of user input, specifically the post title, when it is embedded into JSON-LD schema markup on web pages. JSON-LD is commonly used to provide structured data to search engines, and the plugin outputs user-supplied post titles directly into this markup without proper neutralization. An authenticated attacker with at least Contributor-level privileges can exploit this by injecting malicious JavaScript code into the post title. When any user, including administrators or visitors, accesses the affected page, the injected script executes in their browser context. This can lead to session hijacking, unauthorized actions, or data theft. The vulnerability has a CVSS v3.1 score of 6.4, reflecting a medium severity level. The attack vector is network-based, with low complexity, requiring privileges but no user interaction. The scope is changed because the vulnerability affects data that can impact other users viewing the page. No known exploits are currently reported in the wild, but the risk remains significant due to the widespread use of WordPress and the plugin. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation. The lack of a patch at the time of reporting necessitates immediate mitigation steps to reduce risk.
Potential Impact
For European organizations, this vulnerability poses a moderate risk primarily to websites using the Schema Scalpel plugin on WordPress, particularly those that allow Contributor-level users to create or edit posts. Exploitation can lead to the execution of arbitrary scripts in the browsers of site visitors and administrators, potentially resulting in session hijacking, defacement, or unauthorized actions performed on behalf of users. This can undermine trust, damage reputation, and lead to data breaches involving personal or sensitive information. The impact on confidentiality and integrity is partial but significant, while availability is not directly affected. Organizations with public-facing WordPress sites that rely on structured data for SEO and user engagement are especially vulnerable. Since the attack requires authenticated access, insider threats or compromised Contributor accounts increase risk. The vulnerability could also be leveraged as a foothold for more advanced attacks or lateral movement within an organization's web infrastructure. Given the interconnected nature of European digital services, exploitation could have cascading effects on business operations and compliance with data protection regulations such as GDPR.
Mitigation Recommendations
1. Monitor for and apply any official patches or updates released by the Schema Scalpel plugin developers immediately once available. 2. In the interim, restrict Contributor-level permissions to trusted users only and consider temporarily disabling the plugin if feasible. 3. Implement additional input validation and output encoding on the post title field at the application or web server level to neutralize potentially malicious scripts. 4. Employ Web Application Firewalls (WAFs) with rules targeting JSON-LD injection patterns to detect and block suspicious payloads. 5. Conduct regular audits of user-generated content, especially post titles, to identify and remove injected scripts. 6. Educate content contributors about safe content practices and the risks of injecting scripts. 7. Use Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 8. Monitor logs and user activity for signs of exploitation attempts or unusual behavior. 9. Consider implementing multi-factor authentication (MFA) for all authenticated users to reduce the risk of account compromise. 10. Review and harden WordPress security configurations and ensure all plugins and themes are kept up to date.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-12118: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kevingillispie Schema Scalpel
Description
The Schema Scalpel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post title in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping when outputting user-supplied data into JSON-LD schema markup. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-12118 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Schema Scalpel plugin for WordPress, affecting all versions up to and including 1.6.1. The root cause is insufficient sanitization and escaping of user input, specifically the post title, when it is embedded into JSON-LD schema markup on web pages. JSON-LD is commonly used to provide structured data to search engines, and the plugin outputs user-supplied post titles directly into this markup without proper neutralization. An authenticated attacker with at least Contributor-level privileges can exploit this by injecting malicious JavaScript code into the post title. When any user, including administrators or visitors, accesses the affected page, the injected script executes in their browser context. This can lead to session hijacking, unauthorized actions, or data theft. The vulnerability has a CVSS v3.1 score of 6.4, reflecting a medium severity level. The attack vector is network-based, with low complexity, requiring privileges but no user interaction. The scope is changed because the vulnerability affects data that can impact other users viewing the page. No known exploits are currently reported in the wild, but the risk remains significant due to the widespread use of WordPress and the plugin. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation. The lack of a patch at the time of reporting necessitates immediate mitigation steps to reduce risk.
Potential Impact
For European organizations, this vulnerability poses a moderate risk primarily to websites using the Schema Scalpel plugin on WordPress, particularly those that allow Contributor-level users to create or edit posts. Exploitation can lead to the execution of arbitrary scripts in the browsers of site visitors and administrators, potentially resulting in session hijacking, defacement, or unauthorized actions performed on behalf of users. This can undermine trust, damage reputation, and lead to data breaches involving personal or sensitive information. The impact on confidentiality and integrity is partial but significant, while availability is not directly affected. Organizations with public-facing WordPress sites that rely on structured data for SEO and user engagement are especially vulnerable. Since the attack requires authenticated access, insider threats or compromised Contributor accounts increase risk. The vulnerability could also be leveraged as a foothold for more advanced attacks or lateral movement within an organization's web infrastructure. Given the interconnected nature of European digital services, exploitation could have cascading effects on business operations and compliance with data protection regulations such as GDPR.
Mitigation Recommendations
1. Monitor for and apply any official patches or updates released by the Schema Scalpel plugin developers immediately once available. 2. In the interim, restrict Contributor-level permissions to trusted users only and consider temporarily disabling the plugin if feasible. 3. Implement additional input validation and output encoding on the post title field at the application or web server level to neutralize potentially malicious scripts. 4. Employ Web Application Firewalls (WAFs) with rules targeting JSON-LD injection patterns to detect and block suspicious payloads. 5. Conduct regular audits of user-generated content, especially post titles, to identify and remove injected scripts. 6. Educate content contributors about safe content practices and the risks of injecting scripts. 7. Use Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 8. Monitor logs and user activity for signs of exploitation attempts or unusual behavior. 9. Consider implementing multi-factor authentication (MFA) for all authenticated users to reduce the risk of account compromise. 10. Review and harden WordPress security configurations and ensure all plugins and themes are kept up to date.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-23T16:07:37.624Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69058f8066e0c23159a8ccff
Added to database: 11/1/2025, 4:41:36 AM
Last enriched: 11/10/2025, 2:07:48 AM
Last updated: 12/14/2025, 8:11:06 AM
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-14649: SQL Injection in itsourcecode Online Cake Ordering System
MediumCVE-2025-14648: Command Injection in DedeBIZ
MediumCVE-2025-14647: SQL Injection in code-projects Computer Book Store
MediumCVE-2025-14646: SQL Injection in code-projects Student File Management System
MediumCVE-2025-12696: CWE-862 Missing Authorization in HelloLeads CRM Form Shortcode
UnknownActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.