CVE-2021-24427 W3 Total Cache < 2.1.3 - Authenticated Stored XSS
High-privilege users can inject JavaScript into CDN settings, leading to stored XSS attacks against other users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24427?
CVE-2021-24427 is a medium-severity cross-site scripting vulnerability in BoldGrid W3 Total Cache, published on 12 Jul 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The W3 Total Cache WordPress plugin before 2.1.3 did not sanitise or escape some of its CDN settings, allowing high privilege users to use JavaScript in them, which will be output in the page, leading to an authenticated Stored Cross-Site Scripting issue
Weakness: CWE-79
Which versions are affected by CVE-2021-24427?
It affects 1 product.
Products include Boldgrid W3 Total Cache.
How do I fix CVE-2021-24427?
No fix has been published for CVE-2021-24427 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-2021-24427 being exploited?
There is no known exploitation of CVE-2021-24427 in the wild and no public exploit code.
Other vulnerabilities in BoldGrid W3 Total Cache
- CVE-2024-12365 W3 Total Cache <= 2.8.1 - Authenticated (Subscriber+) Missing Authorization to Server-Side Request Forgery
- CVE-2012-6077 Information disclosure in Total Cache
- CVE-2012-6078 Information disclosure in Total Cache
- CVE-2012-6079 Information disclosure in Total Cache
- CVE-2019-6715 Path traversal in n/a
Sources
Also known as GHSA-6h4x-c495-6qh7.