If your site runs WP Rocket, check your version today. It takes about a minute.
WP Rocket is a caching plugin that makes WordPress sites load faster. On November 25, attackers began targeting a flaw in this WordPress plugin that requires no login.
What the Flaw Does
The bug is tracked as CVE-2026-125812. The plugin doesn’t validate data sent to a public endpoint well enough, so an unauthenticated attacker can make the site write and run PHP code pulled from an outside source. It’s rated 9.8 out of 10.
It affects WP Rocket versions before 3.24.2, and only when LazyLoad for CSS background images or Host Fonts Locally is turned on. Both options are off by default.
This means that plenty of WP Rocket sites aren’t exposed. But both settings can be turned on for page speed. If you can’t say for sure whether it was turned on for your site, assume you need to check.
How Fast It Moved
A researcher reported the flaw through Patchstack’s bug bounty program on November 4, and WP Media fixed it in 3.24.2. That release came out November 19. Patchstack published its advisory on November 23.
The first exploitation attempt reached Patchstack’s sensors on November 25 at 15:27 UTC, six days after the fix. By one count, that was about 3 hours after the CVE record went public. On November 26 alone, Patchstack blocked tens of thousands of attempts.
So the fix was sitting there for six days before the attacks began. Any site that hadn’t updated by then was running on borrowed time.
Updating Doesn’t Clean Up After an Attack
The key thing to know is that the update doesn’t remove files an attacker has already planted. A site that ran a vulnerable version with either feature on can be patched and still carry a backdoor.
The attack saves fetched content as a PHP file that the server then runs. Patchstack’s examples have names that start with wp-media- and end in .php, and they turn up in wp-content/wp-rocket-config/, wp-content/uploads/, and directly in wp-content/. Your own planted files may be named something different, so any PHP file you can’t explain deserves a look.
Not sure whether your site is running outdated plugins right now? A vulnerability scan or external penetration test shows what an attacker can see from the internet, including outdated plugin versions. Let’s talk about what that would look like for your site.
Five Checks For This Week
While patching may feel like the end of the job, stopping at the update is the risky part. For an SMB, this usually falls between two people. The person who built your site may have moved on, and your IT provider may not count the website as theirs. These five checks take under an hour and tell you two things: whether you were exposed, and whether someone got in while the fix sat there. Pick one person to own the task of checking.
- Confirm your version: You want 3.24.2 or later. 3.24.3 is the newest in the changelog. Automatic updates need an active license, so check yours if the plugin never updated on its own.
- Look at the two settings: If you can’t update right away, turn off LazyLoad for CSS background images and Host Fonts Locally, then confirm they stayed off.
- Search for planted files: Check the three folders above for PHP files you don’t recognize, especially ones dated since November 25.
- Read your logs: Look for POST requests to /wp-admin/admin-ajax.php with action=rocket_beacon. Outbound requests from your web server to unfamiliar hosts, nip.io names, or trycloudflare.com tunnels are worth a second look too.
- If something turns up, treat the site as compromised: Keep the logs and files, remove the planted files, update, and rotate your administrator, database, and hosting credentials.
If someone else manages your site, forward them this list and ask for a written answer. “We updated it” doesn’t cover the files question.
Where Testing Fits
We’d call this one a moderate fit for testing, and here’s why. The fix is an update, and the cleanup is a file check, so a penetration test isn’t the first tool to reach for.
What testing does well is catch the next one earlier. An external scan can often spot an outdated plugin version before an attacker does, and a penetration test shows what that gap lets someone do. Plugin flaws like this one turn up every few weeks, so you need to stay vigilant and check your plugins frequently.
If you’d like to know what your public-facing sites look like to an attacker, we’re glad to talk through a vulnerability scan or an external penetration test. MainNerve has been doing this work for over 20 years. Reach out to us for a free consultation today.