CVE-2024-4335: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rankmath Rank Math SEO – AI SEO Tools to Dominate SEO Rankings
The Rank Math SEO with AI Best SEO Tools plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘textAlign’ parameter in versions up to, and including, 1.0.217 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The Rank Math SEO plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the 'textAlign' parameter. Authenticated attackers with contributor or higher privileges can inject arbitrary JavaScript code that executes in the context of users viewing the affected pages. This vulnerability affects all versions up to 1.0.217. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and impacts on confidentiality and integrity but not availability. No patch or official remediation guidance is currently available from the vendor.
Potential Impact
Exploitation of this vulnerability allows an attacker with contributor-level access or higher to inject persistent malicious scripts into pages generated by the plugin. This can lead to unauthorized actions performed in the context of other users viewing the infected pages, potentially compromising user confidentiality and integrity of the website content. There is no indication of availability impact or known active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit contributor-level permissions to trusted users only and consider disabling or removing the affected plugin if possible. Monitor official Rank Math communications for updates and apply patches promptly once available.
CVE-2024-4335: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rankmath Rank Math SEO – AI SEO Tools to Dominate SEO Rankings
Description
The Rank Math SEO with AI Best SEO Tools plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘textAlign’ parameter in versions up to, and including, 1.0.217 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Rank Math SEO plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the 'textAlign' parameter. Authenticated attackers with contributor or higher privileges can inject arbitrary JavaScript code that executes in the context of users viewing the affected pages. This vulnerability affects all versions up to 1.0.217. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and impacts on confidentiality and integrity but not availability. No patch or official remediation guidance is currently available from the vendor.
Potential Impact
Exploitation of this vulnerability allows an attacker with contributor-level access or higher to inject persistent malicious scripts into pages generated by the plugin. This can lead to unauthorized actions performed in the context of other users viewing the infected pages, potentially compromising user confidentiality and integrity of the website content. There is no indication of availability impact or known active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit contributor-level permissions to trusted users only and consider disabling or removing the affected plugin if possible. Monitor official Rank Math communications for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-30T00:44:29.389Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b88b7ef31ef0b5564e8
Added to database: 2/25/2026, 9:37:12 PM
Last enriched: 4/9/2026, 2:31:00 PM
Last updated: 4/12/2026, 8:36:00 AM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.