XSS in Yoast Seo Premium

CVE-2025-11241

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.003 (23.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 23.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-11241: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000

Affected products

  • Yoast Seo Premium — versions 25.7

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-11241?
CVE-2025-11241 is a medium-severity vulnerability in Yoast Seo Premium, classified under Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). CVSS score: 6.4/10. Published 2025-10-03.
How severe is CVE-2025-11241?
Medium severity. CVSS v3 base score is 6.4 out of 10.