# CVE-2024-4335: Rank Math SEO with AI Best SEO Tools \<= 1.0.217 - Authenticated (Contributor+) Stored Cross-Site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-09 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2024-4335 · JSON: https://cvemate.com/vulnerability/CVE-2024-4335/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.429%, percentile 39.067%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- rankmath rank math seo – ai seo tools to dominate seo rankings: ≤ 1.0.217
- rankmath seo: \< 1.0.218
- wordpress seo-by-rank-math: ≤ 1.0.217 (fixed in 1.0.218)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/96eba67c-58e7-4eea-84d4-9b3bb275b42d?source=cve>
- <https://plugins.trac.wordpress.org/browser/seo-by-rank-math/tags/1.0.217/includes/modules/schema/blocks/class-block.php#L64>
- <https://plugins.trac.wordpress.org/changeset/3080259/#file26>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/96eba67c-58e7-4eea-84d4-9b3bb275b42d>

---

Data as of 2026-12-05T08:23:54.655Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
