Add us as a Preferred Source to get our latest articles and updates directly in your Google Search & Top Stories.
- Patchstack has seen attacks on CVE-2026-125812 since November 25, six days after WP Rocket 3.24.2 fixed it.
- WP Media says versions 3.15 through 3.24.1 are exposed when LazyLoad for CSS background images or Self-host Google Fonts is on.
- An expired WP Rocket license stops plugin updates, so WP Media tells those sites to turn both settings off.
Attackers have been exploiting CVE-2026-125812 in the WP Rocket caching plugin since November 25, planting their own PHP code on WordPress sites. Version 3.24.2 fixes it. Sites with an expired license don’t get that update.
What happened?
The fix shipped on November 19 under one line in WP Rocket’s changelog: “Improve validation of cached CSS, font and preconnect files.” No CVE number. No severity. Six days later, Patchstack logged the first attack.
More Read
Patchstack, the security firm that issued the CVE, explains the mechanism. WP Rocket runs a small script in visitors’ browsers that measures each page and reports back to a public endpoint on the site, and the plugin trusts the URLs in those reports too much. A forged report makes the site download a file from the attacker’s server and save it as PHP, which the server then runs. No login is needed. Patchstack rates it 9.8 out of 10.
The first attacker worked by hand. By November 26 the attempts had turned into automated campaigns, with tens of thousands blocked that day alone, according to Patchstack. Its ten busiest attacker addresses sent 25,806 blocked requests between them, and Patchstack says that’s roughly half of everything it stopped. So the “more than 25,000” malicious requests in BleepingComputer’s November 30 report are a floor, not the total.
Which WP Rocket sites are exposed?
Two things decide it: the version and two settings. WP Media’s advisory says the flaw affects WP Rocket 3.15 through 3.24.1 when LazyLoad for CSS background images or Self-host Google Fonts is switched on. The CVE record and BleepingComputer’s report just say “before 3.24.2”, with no lower bound.
Both settings are off out of the box. Patchstack says they’re common on sites tuned for speed. It also calls the second one “Host Fonts Locally”, while the plugin labels it Self-host Google Fonts, and that’s the name you’ll be looking for in the menu.
WP Media counts more than 5.5 million websites running WP Rocket. Nobody has published how many of them had either setting on, or how many were breached. That number doesn’t exist yet.
Why does an expired license matter here?
WP Rocket is a paid plugin, and its license page is blunt about what stops when you stop paying: once the license expires, “you will lose access to” support and plugin updates. The same page says the plugin “will continue to operate normally.” So a lapsed site keeps running the vulnerable code, and no update shows up in the dashboard.
WP Media’s advisory covers that case directly. Turn off both settings and keep them off until you install 3.24.2 or later. Renewing gets you the fix. The toggles only buy time.
What should WP Rocket users do now?

- In your WordPress dashboard, open Plugins and check the WP Rocket version. If it’s below 3.24.2 and your license is active, click Update now and confirm the new version reads 3.24.2 or later.
- If you can’t update today, go to WP Rocket > Page Optimization > Image & Media (on versions before 3.24, the Media tab). Turn off LazyLoad for CSS background images and Self-host Google Fonts, save, and check that both stayed off.
- If you look after many sites, WP Media published a small helper plugin that switches both settings off and can be rolled out with WP-CLI. It’s linked from the advisory.
- If either setting was on while you ran a vulnerable version, look for PHP files you didn’t put there in
wp-content/wp-rocket-config/,wp-content/uploads/and the top level ofwp-content/, such as files namedwp-media-*.php. Ask your host to check the logs for outbound connections tonip.ioortrycloudflare.comaddresses. The update doesn’t delete anything an attacker already planted.
WP Rocket isn’t the only CMS flaw this month to go from patch to live attacks within days. Drupal’s installer bug, which we covered in our Drupal installer vulnerability report, was hit the day after its first fix.
What isn’t confirmed yet?
CISA hasn’t added CVE-2026-125812 to its Known Exploited Vulnerabilities catalog. The latest version, released November 27, doesn’t list it, and CISA’s automated triage on the CVE record still reads exploitation “none”, an entry made half an hour before the first attack. Patchstack’s own database page shows a “KEV” badge, but that’s Patchstack’s label, not CISA’s. Until the catalog lists it, US federal agencies have no deadline to patch.
On a self-hosted WordPress site, plugin updates and license renewals are your job, one of the trade-offs we lay out in our Squarespace vs WordPress comparison. A hosted builder takes plugins out of your hands and brings its own limits, covered in our look at whether Squarespace is worth it.
My Take
The patch note named nothing, and that’s the part that bothers me. If you pay for WP Rocket, the fix has been sitting in your dashboard since November 19. If you stopped paying, it never arrived, and nothing on the screen tells you so.
I’d check the version on every site I run before doing anything else, then look through wp-content for PHP files I don’t recognise. If the license has lapsed and the renewal can wait a day, I’d switch off both settings first and argue about the money later.








