CVE-2024-12314
Megaoptim Rapid Cache ≤ 1.2.3
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-12314 is a high-severity Use of Cache Containing Sensitive Information (CWE-524) vulnerability in Megaoptim Rapid Cache. Its CVSS base score is 7.2 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique OS Credential Dumping (T1003); ranked at the 31th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2024-12314 is a cache poisoning vulnerability affecting the Rapid Cache plugin for WordPress in all versions up to and including 1.2.3. The issue stems from the plugin storing HTTP headers in cached data without proper sanitization, enabling attackers to inject custom headers into the cache. Published on 2025-02-18, this flaw carries a CVSS v3.1 base score of 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) and is linked to CWE-524 and NVD-CWE-Other.
Unauthenticated attackers can exploit this vulnerability remotely with low complexity and no user interaction required. By sending crafted HTTP requests containing malicious headers, they can poison the site's cache, causing subsequent visitors to receive responses with unsanitized headers that facilitate cross-site scripting (XSS) attacks. The changed scope (S:C) in the CVSS vector indicates potential impact across security boundaries, with low confidentiality and integrity effects but no availability disruption.
Advisories from Wordfence and the plugin's WordPress.org page provide further details on this vulnerability. Security practitioners should consult these resources—https://www.wordfence.com/threat-intel/vulnerabilities/id/72b777ac-1870-4588-82fe-da96a784ec81?source=cve and https://wordpress.org/plugins/rapid-cache/—for patch information and recommended mitigation steps.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-4840
Vulnerability Data
The Rapid Cache plugin for WordPress is vulnerable to Cache Poisoning in all versions up to, and including, 1.2.3. This is due to plugin storing HTTP headers in the cached data. This makes it possible for unauthenticated attackers to poison…
more
the cache with custom HTTP headers that may be unsanitized which can lead to Cross-Site Scripting.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V14.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Enforces access authorizations so that cached sensitive data cannot be read by actors outside the intended sphere.
Directly prevents unauthorized transfer of information through shared resources such as caches.
Controls information flows to keep sensitive data from leaving its authorized control sphere via caches.
Requires cryptographic or other protection of sensitive information at rest, which covers cached data.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Protecting confidentiality of data-at-rest covers caches that persist sensitive information.
Enforcing least-privilege access permissions directly limits who can read cached sensitive data.
Protecting data-in-use can mitigate exposure when caches hold transient sensitive values.
Logical access controls on environments reduce the chance an outsider can reach the cache.
Hardened configuration baselines can disable or secure caching of sensitive data.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Data leakage prevention can block unauthorized access to cached sensitive information.
A.8.29's SOURCE reach (code review, static analysis) and RUNTIME reach (penetration testing, dynamic testing) both reach CWE-524: code review and data-flow static analysis can identify sensitive data being placed in caches or missing cache-control directives, and penetration/dynamic testing can observe cache exposure from outside. The remainder is bounded and nameable -- caching done by opaque third-party libraries, browser-side caching under complex conditions, and cases where the sensitivity of cached data is not apparent from the code alone -- which keeps it at `mostly` rather than `full`.
Training makes developers aware that caches can leak sensitive information and that cache-control headers and access restrictions matter, which prevents some instances of this implementation-phase weakness, but the specific technical choices (no-cache headers, cache access scoping, deciding what to cache) require detailed knowledge that training provides only partially and fallibly.
A.8.11's masking techniques (especially encryption) would block exploitation of CWE-524 when applied to cached sensitive data, but the clause does not specifically address caches and the weakness is fundamentally about access control to the cache, which data masking does not reach.
A.8.21's caching guidance (item c under security features) lets the organization configure network-service caching parameters so users can choose caching based on confidentiality requirements, which prevents some instances of CWE-524 at the network service layer (e.g., CDN caching of sensitive responses); the remainder is application-level caching decisions — in-memory caches, HTTP response headers, query caches — which the clause does not reach.
Secure coding practices prevent caching of sensitive data outside intended boundaries.