If your WordPress site uses WP Rocket, update it to version 3.24.2 today. A critical flaw in versions 3.15 to 3.24.1, CVE-2026-125812, lets an attacker run code on the site without logging in, and attacks are already happening. If you cannot update right away, turn off two settings, and either way, have the site checked for anything an attacker may have left behind.
This take is part of my tech stacks writing. It follows last week’s take on phpAfterShell, a critical PHP flaw, which hit the same kind of WordPress sites from the server side.
What happened?
WP Rocket, a popular caching plugin for WordPress, published a security advisory for CVE-2026-125812, last updated November 27, 2026. It says the issue “is fixed in the WP Rocket 3.24.2 version, released on November 19, 2026,” and that “an attacker can execute arbitrary code on the affected website without authentication.”

WP Rocket is a caching plugin installed on WordPress sites to make pages load faster. Photo: Archeduc - Vormingplus Halle-Vilvoorde, CC0.
WP Rocket posted the update on X on November 21:
WP Rocket ™@wp_rocket
Our team has been working on some important security enhancements that have been released today.
Therefore, we recommend updating to our latest minor version, WP Rocket 3.24.2 to keep your site secure 🔒
See full details in our changelog → tr.ee/S2Fhjk
Who is affected?
The advisory lists “WP Rocket versions 3.15 through 3.24.1” where at least one of two features is enabled: “LazyLoad for CSS background images” or “Self-host Google Fonts.” Both are common speed settings, so many sites will have at least one switched on.

The flaw lets an attacker run code on the web server itself, without logging in. Photo: torkildr, CC BY-SA 2.0.
How serious is it?
Very. Code execution without a login is the worst kind of plugin bug, and WP Rocket’s advisory says “Patchstack has reported active automated exploitation attempts targeting vulnerable sites,” linking to Patchstack’s write-up. BleepingComputer reported the attacks on November 30:
BleepingComputer@BleepinComputer
Hackers exploit critical WordPress WP Rocket flaw to breach sites
bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites
bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites
bleepingcomputer.comHackers exploit critical WordPress WP Rocket flaw to breach sitesHackers are actively exploiting a critical flaw, tracked as CVE-2026-125812, in the WP Rocket caching plugin that allows executing arbitrary PHP code on WordPress sites.
What does it mean for small businesses and founders?
WP Rocket tends to sit on sites where someone cared about speed: online shops, booking pages, agency-built company sites. In the Philippines, many of those sites were built once by a freelancer or agency and are rarely touched since. If nobody is watching plugin updates, a site like that can be running 3.24.1 today.
The advisory is also clear that updating is not the end: “Any files or accounts an attacker already created require separate investigation.”
What should you do now?
- Check the WP Rocket version. In WordPress, go to Plugins and look for WP Rocket. Anything from 3.15 to 3.24.1 needs action.
- Update to 3.24.2 or later. WP Rocket says to “install WP Rocket 3.24.2 or later as soon as you can.”
- If you cannot update today, turn off the two features. Go to WP Rocket, then Page Optimization, then Image & Media (the Media tab on versions before 3.24), and turn off “LazyLoad for CSS background images” and “Self-host Google Fonts.” WP Rocket also offers a helper plugin that switches both off.
- Check for a break-in. If either feature was on while the site ran an old version, the advisory says to “ask your hosting provider or security team to check for signs of compromise.” Look for new admin users and unfamiliar files.
- Ask your developer or agency in writing to confirm the version and the check, if someone else manages the site.
