Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4127: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kcseopro WP SEO Structured Data Schema

0
Medium
VulnerabilityCVE-2025-4127cvecve-2025-4127cwe-79
Published: Thu May 08 2025 (05/08/2025, 06:39:50 UTC)
Source: CVE
Vendor/Project: kcseopro
Product: WP SEO Structured Data Schema

Description

The WP SEO Structured Data Schema plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘Price Range’ parameter in all versions up to, and including, 2.7.11 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that will execute whenever an administrator accesses the plugin settings page.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:16:27 UTC

Technical Analysis

CVE-2025-4127 is a stored Cross-Site Scripting vulnerability classified under CWE-79 found in the WP SEO Structured Data Schema plugin for WordPress, affecting all versions up to and including 2.7.11. The vulnerability stems from insufficient sanitization and escaping of user-supplied input in the 'Price Range' parameter. Authenticated attackers with Contributor-level permissions or higher can inject arbitrary JavaScript code into this parameter. Because the malicious script is stored persistently, it executes whenever an administrator accesses the plugin's settings page, potentially allowing attackers to hijack admin sessions, steal credentials, or perform actions with elevated privileges. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No public exploits are currently known, but the vulnerability is publicly disclosed and assigned by Wordfence and enriched by CISA. The lack of patches at the time of disclosure necessitates immediate mitigation steps to reduce risk.

Potential Impact

The primary impact of this vulnerability is the compromise of administrative accounts and site integrity on WordPress installations using the affected plugin. Successful exploitation allows attackers to execute arbitrary scripts in the context of an administrator’s browser, leading to session hijacking, credential theft, or unauthorized actions within the WordPress dashboard. This can result in site defacement, data leakage, or further compromise of the hosting environment. Since the vulnerability requires authenticated access at Contributor level or above, insider threats or compromised lower-privilege accounts can escalate their impact. Organizations relying on this plugin for SEO structured data risk disruption of their website management and potential reputational damage. The scope change in the CVSS vector indicates that the vulnerability can affect components beyond the initial user context, increasing the severity of impact.

Mitigation Recommendations

1. Immediately restrict Contributor-level and higher user permissions to trusted personnel only until the vulnerability is patched. 2. Monitor and audit Contributor and higher user activities for suspicious behavior or unauthorized changes. 3. Implement Web Application Firewall (WAF) rules to detect and block malicious payloads targeting the 'Price Range' parameter. 4. Disable or remove the WP SEO Structured Data Schema plugin if it is not essential to reduce attack surface. 5. Regularly update the plugin once a security patch is released by the vendor. 6. Educate administrators to avoid visiting plugin settings pages from untrusted networks or devices. 7. Employ Content Security Policy (CSP) headers to restrict script execution sources, mitigating impact of injected scripts. 8. Conduct periodic vulnerability scans and penetration tests focusing on WordPress plugins and user input handling. These steps go beyond generic advice by focusing on access control, monitoring, and layered defenses tailored to this specific vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-04-30T07:43:07.570Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9819c4522896dcbd85ec

Added to database: 5/21/2025, 9:08:41 AM

Last enriched: 2/27/2026, 2:16:27 PM

Last updated: 3/26/2026, 7:45:10 AM

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses