Yoast SEO Premium 25.7-25.9 - Authenticated (Contributor+) Stored Cross-Site Scripting

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
CVE CVE-2025-11241
CVSS Medium (6.4)
Publicly Published October 2, 2025
Last Updated October 3, 2025
Researcher stealthcopter
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.

References

1 affected software package

Software Type Plugin
Software Slug wordpress-seo-premium (view on wordpress.org)
Patched? Yes
Affected Version
  • 25.7 - 25.9
Patched Version
  • 26.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.