CVE-2024-12314 Rapid Cache <= 1.2.3 - Unauthenticated Cache Poisoning

High 7.2 Published Updated

Unauthenticated attackers can poison the cache with unsanitized headers to execute Cross-Site Scripting, affecting WordPress sites using Rapid Cache.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12314?

CVE-2024-12314 is a high-severity cross-site scripting vulnerability in megaoptim Rapid Cache, published on 18 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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 the cache with custom HTTP headers that may be unsanitized which can lead to Cross-Site Scripting.

Weakness: CWE-524

Which versions are affected by CVE-2024-12314?

It affects 1 product.

Products include Megaoptim Rapid Cache.

How do I fix CVE-2024-12314?

No fix has been published for CVE-2024-12314 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-12314 being exploited?

There is no known exploitation of CVE-2024-12314 in the wild and no public exploit code.

Sources

Also known as GHSA-pp8h-hgq9-wfrj.

Is CVE-2024-12314 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free