WordPress security changelog
MEDIUM CVE-2025-11241 Deferred

Yoast SEO Premium: Cross-site scripting

Yoast SEO Premium is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 6.4 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Yoast SEO Premium
Plugin slug
yoast-seo-premium
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 03, 2025
Weakness
CWE-80 — Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

This CVE was published Oct 03, 2025 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Yoast SEO Premium to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary and upstream sources