CVE-2024-4627 Rank Math SEO < 1.0.219 - Authenticated Stored XSS
Authenticated users can inject malicious scripts via settings, leading to stored XSS and potential account takeover in WordPress sites using Rank Math SEO.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-4627?
CVE-2024-4627 is a medium-severity cross-site scripting vulnerability in Unknown Rank Math SEO , published on 2 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Rank Math SEO WordPress plugin before 1.0.219 does not sanitise and escape some of its settings, which could allow users with access to the General Settings (by default admin, however such access can be given to lower roles via the Role Manager feature of the Rank Math SEO WordPress plugin before 1.0.219) to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).
Weakness: CWE-79
Which versions are affected by CVE-2024-4627?
It affects 1 product.
Products include Rankmath Seo.
How do I fix CVE-2024-4627?
No fix has been published for CVE-2024-4627 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-4627 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4627 exists.
Other vulnerabilities in Unknown Rank Math SEO
- CVE-2020-11514 Missing authorization in n/a
- CVE-2023-23888 WordPress Rank Math SEO plugin <= 1.0.107.2 - Local File Inclusion vulnerability
- CVE-2024-9314 Rank Math SEO – AI SEO Tools to Dominate SEO Rankings <= 1.0.228 - Authenticated (Administrator+) PHP Object Injection
- CVE-2022-36376 WordPress Rank Math SEO plugin <= 1.0.95 - Server-Side Request Forgery (SSRF) vulnerability
- CVE-2024-9161 Missing authorization in Rank Math SEO – AI SEO Tools to Dominate SEO Rankings
Sources
Also known as GHSA-c2jm-v3mf-w53g.