CVE-2021-24209: automattic wp_super_cache Code Injection
Vulnerability summary
CVE-2021-24209 is a high (CVSS 9.0) Code Injection vulnerability in automattic wp_super_cache. EPSS estimates a 27.67% chance of exploitation in the next 30 days, higher than 98% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
27.67%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 27.67% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Automattic1 product
- wp_super_cache< 1.7.2
Unknown1 product
- wp super cache< 1.7.2
Wordpress1 product
- wp-super-cache< 1.7.2
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/733d8a02-0d44-4b78-bbb2-37e447acd2f3ExploitVDB EntryTechnical DescriptionThird Party Advisory