CVE-2025-11241 in Javascript products
The Yoast SEO Premium plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 25.7 to 25.9 due to a flawed regex used to remove an attribute in post content, which can be abused to inject arbitrary HTML attributes, including JavaScript event handlers. This vulnerability allows a user with Contr...
Affects 0 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Javascript | — | — |
| Plugin | — | — |
| Wordpress | — | — |
| Yoast | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The Yoast SEO Premium plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 25.7 to 25.9 due to a flawed regex used to remove an attribute in post content, which can be abused to inject arbitrary HTML attributes, including JavaScript event handlers. This vulnerability allows a user with Contributor access or higher to create a post containing a malicious JavaScript payload.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-11241 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-035231-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Published | 2025-10-03 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The Yoast SEO Premium plugin for WordPress versions 25.7 to 25.9 is vulnerable to Stored Cross-Site Scripting (XSS) due to a flawed regex that fails to properly sanitize post content, allowing injection of malicious HTML attributes including JavaScript event handlers.
An attacker with Contributor access or higher can create a post containing a malicious JavaScript payload that will be stored and executed in the browser of any user who views the post. This can lead to unauthorized actions being performed on behalf of the user, such as session hijacking or data theft.
Questions
What is CVE-2025-11241?
The Yoast SEO Premium plugin for WordPress versions 25.7 to 25.9 is vulnerable to Stored Cross-Site Scripting (XSS) due to a flawed regex that fails to properly sanitize post content, allowing injection of malicious HTML attributes including JavaScript event handlers.
What is the CVSS score for CVE-2025-11241?
CVE-2025-11241 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. EPSS: 0.4%.
Is CVE-2025-11241 actively exploited?
No confirmed active exploitation of CVE-2025-11241 as of 2026-10-25.
How do I remediate CVE-2025-11241?
Priority: HIGH.
What systems are affected by CVE-2025-11241?
CVE-2025-11241 affects Javascript; Plugin; Wordpress; Yoast.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Javascript","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.