← Vulnerability feed

Vulnerability record · CVE-2021-24312 · published 1 June 2021

CVE-2021-24312: Automattic wp super cache code injection vulnerability

Automattic · Wp Super Cache

The parameters $cache_path, $wp_cache_debug_ip, $wp_super_cache_front_page_text, $cache_scheduled_time, $cached_direct_pages used in the settings of WP Super Cache WordPress plugin before 1.7.3 result in RCE because they allow input of '$' and '\n'. This is due to an incomplete fix of CVE-2021-24209.

7.2 CVSS 3.1 High EPSS 2.0% · top 20.6% CWE-94 · Code injectionCWE-78 · OS command injection
7.2CVSS 3.1 base score, v2 6.5
2.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

The parameters $cache_path, $wp_cache_debug_ip, $wp_super_cache_front_page_text, $cache_scheduled_time, $cached_direct_pages used in the settings of WP Super Cache WordPress plugin before 1.7.3 result in RCE because they allow input of '$' and '\n'. This is due to an incomplete fix of CVE-2021-24209.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-24312 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2013-2010WordPress W3 Total Cache Plugin Remote PHP Code ExecutionThe WordPress W3 Total Cache plugin version 0.9.2.8 contains an injection flaw (CWE-74) that allows remote PHP code execution. The vulnerability is n…EPSS 74%analysed8.8CVE-2013-2009Automattic wp super cache vulnerabilityWordPress WP Super Cache Plugin 1.2 has Remote PHP Code ExecutionEPSS 13%7.2CVE-2021-24209Automattic wp super cache code injection vulnerabilityThe 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 a…EPSS 28%6.1CVE-2013-2008Automattic wp super cache cross-site scripting vulnerabilityWordPress Super Cache Plugin 1.3 has XSS.EPSS 1.5%5.4CVE-2021-24329Automattic wp super cache cross-site scripting vulnerabilityThe WP Super Cache WordPress plugin before 1.7.3 did not properly sanitise its wp_cache_location parameter in its settings, which could lead to a Sto…EPSS 4.5%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed

Source: NIST National Vulnerability Database (record CVE-2021-24312), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.