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.

EPSS: 0.003 (22.7th percentile) — read the EPSS interpretation.

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.

Affected products

  • N/a 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.