CVE-2021-24427 W3 Total Cache < 2.1.3 - Authenticated Stored XSS

Medium 4.8 Published Updated

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.

Sources

Also known as GHSA-6h4x-c495-6qh7.

Is CVE-2021-24427 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free