SecurityContext

CVE-2024-4335: Rank Math SEO - Stored XSS

  • Cve: CVE-2024-4335
  • Name: Rank Math SEO - Stored XSS
  • 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.
  • Impact: Attackers can inject malicious scripts that execute for all users accessing the page, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 1.0.218 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs contributor or higher permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00429
  • Epss percentile: 0.3792
  • Assignee: [email protected]
  • Published at: 2024-05-14T15:43:19Z
  • Age in days: 924
  • Modified at: 2026-06-17T08:01:41Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-4335
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://plugins.trac.wordpress.org/changeset/3080259/#file26Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/96eba67c-58e7-4eea-84d4-9b3bb275b42d?source=cveThird Party Advisory
https://plugins.trac.wordpress.org/browser/seo-by-rank-math/tags/1.0.217/includes/modules/schema/blocks/class-block.php#L64Product

Products

ProductAffectedPlatform boundSourcesUrl
rankmath:seo< 1.0.218nonvd/v1/products/rankmath/seo

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 23
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports