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

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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): 27.7%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-05T18:27:46.000Z
- Modified: 2026-06-17T03:39:36.290Z
- Weaknesses: CWE-94
- Assigned by: WPScan

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

(As written by CVE List.)

## Affected

- Unknown WP Super Cache: before 1.7.2
- automattic wp_super_cache: before 1.7.2

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://wpscan.com/vulnerability/733d8a02-0d44-4b78-bbb2-37e447acd2f3> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://plugins.trac.wordpress.org/changeset/2496238/wp-super-cache> (patch, third-party-advisory)

## Sources

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

---

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