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, 26.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Yoast Seo Premium — versions 25.7

Weakness classification (CWE)

References