CVE-2021-24209
WordPress vulnerability analysis and mitigation

Overview

The WP Super Cache WordPress plugin before version 1.7.2 contained an authenticated Remote Code Execution (RCE) vulnerability identified as CVE-2021-24209. The vulnerability was present in the settings page due to input validation failure and weak $cache_path check in the WP Super Cache Settings -> Cache Location option. Since direct access to the wp-cache-config.php file was not prohibited, this vulnerability could be exploited for web shell injection (WPScan Advisory, NVD).

Technical details

The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) with a CVSS v3.1 base score of 7.2 (High). The exploit requires high privileges (admin+) but can be executed with low attack complexity and no user interaction. The vulnerability could also be chained with XSS vulnerabilities in other plugins to achieve RCE (WPScan Advisory).

Impact

If successfully exploited, the vulnerability allows an authenticated attacker with admin privileges to execute arbitrary code on the affected system, potentially leading to complete system compromise. The vulnerability affects confidentiality, integrity, and availability of the system, as indicated by the CVSS metrics (NVD).

Mitigation and workarounds

The vulnerability was patched in WP Super Cache version 1.7.2. Users are strongly advised to update to this version or later to mitigate the risk. However, it should be noted that an incomplete fix led to a subsequent vulnerability (CVE-2021-24312) that was later addressed in version 1.7.3 (WPScan Advisory).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13604HIGH7.2
  • security-malware-firewall
NoYesDec 09, 2025
CVE-2025-13642MEDIUM5.4
  • wp-user-avatar
NoYesDec 09, 2025
CVE-2025-13924MEDIUM4.3
  • advanced-product-fields-for-woocommerce
NoYesDec 09, 2025
CVE-2025-13071N/AN/A
  • custom-admin-menu
NoNoDec 09, 2025
CVE-2025-13070N/AN/A
  • csv-to-sorttable
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management