WP Rocket’s remote code execution bug, CVE-2026-125812, was published at 12:09 UTC on 25 November. Patchstack logged the first exploitation attempt at 15:27 UTC the same day, three hours and eighteen minutes later. That gap is the one everyone quotes. It is also the wrong one to worry about: the fix had been sitting in WP Rocket’s public GitHub repository for a week before the CVE existed, with a commit message that described the bug in plain English.
We wanted to know how many sites are still exposed eleven days into active exploitation. That turned out to be easy to measure, because WP Rocket prints its exact version and its list of enabled features into the HTML of the pages it serves.
TL;DR
- CVE-2026-125812 (CVSS 9.8) lets an unauthenticated attacker make WP Rocket download a PHP file and save it inside
wp-content/cache, where it runs. It affects versions before 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally switched on. - The fix was merged publicly on GitHub on 18 November and shipped on the 19th. The CVE followed on the 25th, and exploitation started three hours after that.
- WP Rocket’s generator meta tag publishes the version and the enabled features. Of 159 sites we fingerprinted across 12,972 homepages, 63 (40%) still run a version below 3.24.2.
- In the Irish .ie set, 10 of 25 are unpatched, and 4 advertise one of the two vulnerable features. Three of those four served pages built after attacks began.
- An expired WP Rocket licence stops updates but, in the vendor’s own words, the plugin “will continue to operate normally”. The vulnerable features keep running with no fix on the way.
What the bug does
WP Rocket runs a small beacon script in each visitor’s browser. It measures the page and posts the results to admin-ajax.php with action=rocket_beacon. WP Rocket then fetches some of the reported URLs and stores them in its cache folder. Before 3.24.2 it did not check what it was storing, so an attacker can report a URL pointing at a .php file on their own server, and WP Rocket saves it under wp-content/cache/background-css/ with the extension intact. Request that path and PHP executes it.
The beacon nonce offers no protection: it is printed in every page WP Rocket serves, so a scanner loads the homepage and copies it. NOC’s write-up of captured attacks shows the dropped file installing a phar-wrapped web shell over wp-content/index.php and a file manager with a “log in as administrator” button that never creates a new user. Patchstack reports tens of thousands of blocked attempts on 26 November alone, from several independent operators.
The patch was the advisory
| Date (UTC) | Event |
|---|---|
| 10 Nov | Patchstack reserves CVE-2026-125812 |
| 18 Nov, 18:22 | Fix merged into the public wp-media/wp-rocket repository |
| 19 Nov | 3.24.2 released. Changelog: “Improve validation of cached CSS, font and preconnect files” |
| 25 Nov, 12:09 | CVE published, CVSS 9.8 |
| 25 Nov, 15:27 | First exploitation attempt seen by Patchstack |
| 26 Nov | 3.24.3 released; attacks automated at scale |
WP Rocket is a paid plugin, but its source is GPL and developed in the open. The merge commit of 18 November is titled “Merge commit from fork”, the signature of a privately prepared security fix, and its message reads “fix(cache): keep background CSS cache paths inside their root”, followed by a list of the file names that will now be refused, including “inner script extensions”. The diff adds an allow-list of .css and .css.json to the cache writer and a font-signature check to the font downloader. Anyone diffing 3.24.1 against 3.24.2 could see exactly which input reached the filesystem unchecked.
Meanwhile the changelog listed the fix third, after two cache-clearing bug fixes, as “Improve validation”. Site owners reading release notes were given no reason to hurry. Attackers reading the diff were given everything. This is not a criticism of the GPL or of open development; it is the normal state of affairs now, and the right assumption is that a security fix in a public repository is a published exploit the moment it is merged. We wrote about that shrinking window in The Collapsing Exploit Window; this is what it looks like in a single plugin.
The site tells you its own exposure
Unless someone has removed it, every page served by a recent WP Rocket version carries a tag like this:
<meta name="generator" content="WP Rocket 3.24.1"
data-wpr-features="wpr_lazyload_css_bg_img ... wpr_host_fonts_locally ..." />
That is the version and both preconditions for the exploit, in one line, on the homepage. We fetched homepages for every .ie domain in the Tranco list (1,300), the global top 20,000, and a random 16,000 from the rest of the top million, with a normal browser request and nothing else. We sent nothing to the beacon endpoint and tested nothing for exploitability. A version below 3.24.2 with either feature listed matches the published conditions; it does not prove a site has been compromised, and a site could have switched the features off since the page was cached.
| Sample | Homepages fetched | WP Rocket with version | Below 3.24.2 | Below 3.24.2 with a vulnerable feature on |
|---|---|---|---|---|
| Irish .ie domains in Tranco (1,300) | 879 | 25 | 10 (40%) | 4 |
| Global top 20,000 (18,357 attempted) | 7,133 | 68 | 24 (35%) | 4 |
| Random sample, ranks 50,001 to 1M (14,078 attempted) | 4,960 | 66 | 29 (44%) | 11 |
| Total | 12,972 | 159 | 63 (40%) | 19 |
Across the three samples, 63 of 159 WP Rocket sites (40%) are still below 3.24.2, eleven days after exploitation began. Nineteen of them also list one of the two vulnerable features: 12% of every WP Rocket install we could fingerprint. Fourteen of those nineteen pages carry WP Rocket’s debug timestamp, and all fourteen were built after 15:27 UTC on 25 November. These are not stale copies from before the attacks. They are what the sites are generating now.
The features themselves are popular. Of the 57 sites with either one switched on, 38 had updated. The rest are running a known, actively exploited remote code execution bug in a configuration Patchstack and NOC have both documented in public.
We are not naming any site. The tag makes the list trivial for anyone to build, which is exactly the problem.
Why sites fall behind: the licence is the update channel
Plugins on wordpress.org can auto-update. WP Rocket cannot reach a site unless that site has an active licence. WP Rocket’s documentation is explicit about what happens at expiry: you lose support and plugin updates, the cloud features stop after 15 days, and “the WP Rocket will continue to operate normally”. LazyLoad for CSS background images and Host Fonts Locally are local features, so they keep running. A site whose licence lapsed in the spring is therefore still running the vulnerable code path today, with no update notice in its dashboard.
The version numbers in our sample fit that picture. Only 13 of the 63 unpatched sites run 3.24 or 3.24.1, the two releases just before the fix: plausibly sites that update, only slowly. The other 50 run releases older than 27 October. Twenty-five run builds more than six months old, and the oldest, 3.17.3.1, dates from November 2024. Those owners are not slow to click “update”. Most likely nothing is offering them one, because the licence lapsed or because nobody looks after the site any more. We cannot see licence status from the outside, so treat that as inference, but it is the inference the vendor’s own policy points to.
This is the same structural problem we covered with perpetual licences and activation servers: the commercial relationship and the security relationship are the same pipe. When a client stops paying for a plugin, nobody tells them they have also stopped receiving security fixes for code that is still executing on their server.
What to do this week
- Check what your own site advertises.
curl -s https://yoursite.ie/ | grep -o 'WP Rocket [0-9.]*" data-wpr-features="[^"]*"'. Anything below 3.24.2 withwpr_lazyload_css_bg_imgorwpr_host_fonts_locallyneeds action today. - Update to 3.24.3. If the licence has lapsed, renew it, or switch off both LazyLoad for CSS background images and Host Fonts Locally until you can.
- Assume you were probed, and look for the payload. Updating does not remove files already planted. On the server,
find wp-content/cache -name "*.php*"should return nothing.wp-content/index.phpshould be the one-line “Silence is golden” file.wp-content/wp-rocket-helper.php,woo.php,al.phpandinfo.phpshould not exist.grep -rl "8170dc3f3827" .finds the shell NOC documented wherever it landed. - If anything turns up, treat it as a full compromise. Delete the files, rotate the database password and admin passwords, and regenerate the salts in
wp-config.php, which ends the file manager’s “log in as admin” sessions. - Keep a register of premium plugin licences with expiry dates. A lapsed licence on a running plugin is an unpatched dependency, and it belongs on the same list as your PHP version and your TLS certificates.
Hiding the generator tag is a reasonable bit of hygiene, but it is not a fix. The recon requests NOC captured probe the beacon endpoint directly, so scanners will find vulnerable sites whether or not they announce themselves.
How we can help
Most of the sites in our sample did nothing wrong except stop paying attention after launch. That is the gap a maintenance contract exists to close: someone who reads the diff, not just the changelog, tracks licence renewals alongside patch levels, and checks for planted files after an incident rather than assuming the update cleaned up. REPTILEHAUS runs WordPress maintenance, security reviews and incident clean-up for Irish businesses and agencies. If you are not sure what your site is running, or who is meant to be watching it, get in touch.

