CVE-2024-13227: 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 – AI SEO Tools to Dominate SEO Rankings plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Rank Math API in all versions up to, and including, 1.0.235 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access 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 WordPress plugin suffers from a stored cross-site scripting vulnerability (CWE-79) in its Rank Math API. This vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing authenticated users with contributor-level privileges or above to inject arbitrary JavaScript code. The injected scripts execute in the context of users who access the compromised pages, potentially leading to session hijacking or other client-side attacks. The issue affects all plugin versions up to 1.0.235. The CVSS 3.1 base score is 6.4, reflecting a network attack vector with low attack complexity, requiring privileges, no user interaction, and impacts confidentiality and integrity with no availability impact. No official patch or remediation guidance is currently available.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the Rank Math API. These scripts execute in the browsers of users who view the infected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider monitoring for suspicious script injections in the plugin's managed content. Avoid exposing sensitive accounts to this plugin until a patch is released.
CVE-2024-13227: 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 – AI SEO Tools to Dominate SEO Rankings plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Rank Math API in all versions up to, and including, 1.0.235 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access 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 WordPress plugin suffers from a stored cross-site scripting vulnerability (CWE-79) in its Rank Math API. This vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing authenticated users with contributor-level privileges or above to inject arbitrary JavaScript code. The injected scripts execute in the context of users who access the compromised pages, potentially leading to session hijacking or other client-side attacks. The issue affects all plugin versions up to 1.0.235. The CVSS 3.1 base score is 6.4, reflecting a network attack vector with low attack complexity, requiring privileges, no user interaction, and impacts confidentiality and integrity with no availability impact. No official patch or remediation guidance is currently available.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the Rank Math API. These scripts execute in the browsers of users who view the infected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider monitoring for suspicious script injections in the plugin's managed content. Avoid exposing sensitive accounts to this plugin until a patch is released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-08T20:20:23.309Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e4eb7ef31ef0b59c9c3
Added to database: 2/25/2026, 9:49:02 PM
Last enriched: 4/9/2026, 7:27:54 PM
Last updated: 4/12/2026, 1:34:21 PM
Views: 19
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.