Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11241: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Yoast SEO Premium

0
Medium
VulnerabilityCVE-2025-11241cvecve-2025-11241cwe-80
Published: Fri Oct 03 2025 (10/03/2025, 01:56:44 UTC)
Source: CVE Database V5
Product: Yoast SEO Premium

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 18:53:08 UTC

Technical Analysis

CVE-2025-11241 is a stored cross-site scripting vulnerability classified under CWE-80, affecting Yoast SEO Premium plugin versions 25.7 through 25.9. The root cause is a flawed regular expression used to remove certain attributes from post content, which fails to properly neutralize malicious HTML attributes, including JavaScript event handlers. This flaw allows an authenticated user with Contributor or higher privileges to craft posts containing malicious JavaScript payloads that are stored persistently in the WordPress database. When other users or administrators view the infected post, the malicious script executes in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress admin interface. The vulnerability requires no user interaction beyond viewing the post and can be exploited remotely over the network. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required, no user interaction, and partial confidentiality and integrity impact with no availability impact. Although no known exploits are currently in the wild, the widespread use of Yoast SEO Premium and WordPress makes this a significant risk. The vulnerability was publicly disclosed on October 3, 2025, with no official patches available at the time of reporting, increasing the urgency for mitigation.

Potential Impact

The primary impact of CVE-2025-11241 is the potential for attackers with Contributor-level access to inject persistent malicious scripts into WordPress posts, which execute in the browsers of users who view the content. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized administrative actions. The integrity of site content and user data can be compromised, and attackers may leverage this foothold to escalate privileges or pivot to other parts of the network. Confidentiality is partially impacted due to potential data exposure via script execution. Availability is not directly affected. Organizations relying on WordPress sites with Yoast SEO Premium are at risk of reputational damage, data breaches, and unauthorized content manipulation. The vulnerability's exploitation could be particularly damaging for high-profile websites, e-commerce platforms, and sites handling sensitive user data. Since the vulnerability requires authenticated access, insider threats or compromised contributor accounts pose a significant risk vector.

Mitigation Recommendations

To mitigate CVE-2025-11241, organizations should immediately upgrade Yoast SEO Premium to a patched version once available. Until a patch is released, restrict Contributor and higher roles to trusted users only, minimizing the risk of malicious post creation. Implement strict content security policies (CSP) to limit the execution of unauthorized scripts in browsers. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious HTML attribute injections in post content. Regularly audit user roles and permissions to ensure least privilege principles are enforced. Additionally, sanitize and validate all user-generated content at multiple layers, including server-side filtering beyond the plugin’s regex. Monitor logs for unusual post creation or modification activities. Educate content creators and administrators about the risks of XSS and the importance of cautious privilege assignment. Finally, maintain up-to-date backups to enable rapid recovery if exploitation occurs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-10-02T13:13:15.572Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68df32960005234f78fa30e3

Added to database: 10/3/2025, 2:19:02 AM

Last enriched: 2/27/2026, 6:53:08 PM

Last updated: 3/26/2026, 8:18:34 AM

Views: 280

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses