# CVE-2021-24452: W3 Total Cache < 2.1.5 - Reflected XSS in Extensions Page (JS Context)

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.92%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-19T10:53:17.000Z
- Modified: 2026-06-17T03:40:03.227Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The W3 Total Cache WordPress plugin before 2.1.5 was affected by a reflected Cross-Site Scripting (XSS) issue within the "extension" parameter in the Extensions dashboard, when the 'Anonymously track usage to improve product quality' setting is enabled, as the parameter is output in a JavaScript context without proper escaping. 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.

(As written by CVE List.)

## Affected

- BoldGrid W3 Total Cache: from 2.1.5 before 2.1.5
- boldgrid w3_total_cache: before 2.1.5

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/3e855e09-056f-45b5-89a9-d644b7d8c9d0> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24452](https://www.cve.org/CVERecord?id=CVE-2021-24452), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24452](https://nvd.nist.gov/vuln/detail/CVE-2021-24452), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24452 · Whole record: https://cve.day/CVE-2021-24452.json · Rebuilt by cve.day 2026-11-25T22:58:02.721Z
