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.
Problem types
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Timeline
2025-10-02: | Disclosed |
Credits
Matthew Rollings
References
www.wordfence.com/...-ed1b-4c51-a463-c2691cb7168d?source=cve
developer.yoast.com/changelog/yoast-seo-premium/26.0/
sec.stealthcopter.com/regexss/