CVE-2021-24436 W3 Total Cache < 2.1.4 - Reflected XSS in Extensions Page (Attribute Context)

Medium 6.1 Published Updated

Reflected XSS in W3 Total Cache allows attackers to execute malicious scripts in admin browsers via crafted links, potentially leading to site compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24436?

CVE-2021-24436 is a medium-severity cross-site scripting vulnerability in BoldGrid W3 Total Cache, published on 19 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The W3 Total Cache WordPress plugin before 2.1.4 was vulnerable to a reflected Cross-Site Scripting (XSS) security vulnerability within the "extension" parameter in the Extensions dashboard, which is output in an attribute without being escaped first. This could allow an attacker, who can convince an authenticated admin into clicking a link, to run malicious JavaScript within the user's web browser, which could lead to full site compromise.

Weakness: CWE-79

Which versions are affected by CVE-2021-24436?

It affects 1 product.

Products include Boldgrid W3 Total Cache.

How do I fix CVE-2021-24436?

No fix has been published for CVE-2021-24436 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-24436 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24436 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-8qcc-x8gh-5483.

Is CVE-2021-24436 in your software?

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

Check your SBOMs for free