What’s Vulnerable › Vulnerabilities
CVE-2024-13227: Rank Math SEO – AI SEO Tools to Dominate SEO Rankings <= 1.0.235 - Authenticated (Contributor+) Stored Cross-Site Scripting via Rank Math API
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-13 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- Rank Math SEO: before 1.0.236 — fixed in 1.0.236
How to fix
Upgrade to a fixed version: Rank Math SEO 1.0.236. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/browser/seo-by-rank-math/trunk/includes/rest/class-shared.php#L257
- https://plugins.trac.wordpress.org/changeset/3222905/
- https://rankmath.com/changelog/free/page/2/
- https://wordpress.org/plugins/seo-by-rank-math/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/24df10fb-5143-478e-90f0-27f604ad43ee?source=cve
Get alerted when CVE-2024-13227 or the next vulnerability affects your stack