On November 27, 2026, the security firm Patchstack reported that WP Rocket, a WordPress speed plugin, has a flaw that lets an attacker run PHP on the server without logging in, and that it is already being exploited (Patchstack’s write-up). It’s tracked as CVE-2026-125812 with a CVSS score of 9.8. The fixed version, 3.24.2, came out on November 19. The first attack attempt Patchstack saw was on November 25, six days later (the day count is our own arithmetic).
WP Rocket is a paid caching plugin that makes pages load faster. Patchstack puts its install base at more than 5.5 million sites.
The flaw sits in how the plugin measures pages. WP Rocket runs a small script in visitors’ browsers and has it report results to a public endpoint (the rocket_beacon action on admin-ajax.php). The URLs in those reports aren’t checked strictly enough. A crafted report can make the site download content from a server the attacker controls and save it as a PHP file, which then runs on the server. No login is needed.
According to Patchstack, a site is affected if it runs a version before 3.24.2 and has either “LazyLoad for CSS background images” or “Host Fonts Locally” turned on. Both are off by default, but Patchstack says they’re common on performance-tuned sites. Taken at its word, a site with both options off can’t be attacked through this path.
What isn’t published is how many sites have either option on. The 5.5 million figure counts WP Rocket installs overall, not vulnerable sites.
Patchstack’s telemetry shows the first attempt on November 25 at 15:27 UTC, which is 10:27 a.m. in New York and 12:27 a.m. on the 26th in Japan. The first attacker worked by hand, trying a few sites and retrying with re-encoded payloads when blocked. Within a day it had become automated, and Patchstack says it blocked tens of thousands of attempts on November 26 alone.
Several operators are active. Their payloads are hosted on bare IP addresses, throwaway names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are probably already compromised. Keep in mind that those numbers come from sites running Patchstack’s protection. How many sites were actually compromised hasn’t been published.
On WP Rocket’s own changelog, the only security line under 3.24.2 (November 19) reads: “Improve validation of cached CSS, font and preconnect files” (WP Rocket changelog). Nothing in that line says it fixes unauthenticated code execution. The other entries for the same release are fixes to cache clearing and the unused-CSS queue, the kind of thing that fills any release.
The changelog page is what we read. We couldn’t confirm whether WP Media published a separate advisory. What follows is our opinion: if you decide whether to update by reading the changelog, this release looked routine. For a plugin that sits in front of every page view, installing the fix before you’ve judged how serious it is makes more sense.
In our article on WordPress.org’s release hold, the protection was a delay that catches malicious releases before they’re distributed. This case is different: a legitimate fix shipped, and sites still running the old version were attacked. A delay doesn’t help with that. What helps is installing the fix quickly.
WP Rocket is also a paid plugin and doesn’t appear in the WordPress.org plugin directory (we searched the directory to confirm). Whether automatic updates apply to it depends on each site’s settings, so it’s worth checking once. We haven’t verified how WP Rocket delivers its updates.
First, open the plugin list and look at the WP Rocket version. Version 3.24.2 or later blocks new attacks. The changelog also lists 3.24.3 from November 26, so move to the newest release available. If you can’t update right now, follow Patchstack’s advice and turn off both options, LazyLoad for CSS background images and Host Fonts Locally.
Next, check whether the site was already hit. Updating stops new attacks but doesn’t remove files that were planted earlier. Patchstack lists three places to look.
The first is unfamiliar PHP files in wp-content/wp-rocket-config/, wp-content/uploads/, and directly in wp-content/, for example files named wp-media-something.php. The second is outbound connections from your server to hosts you don’t recognize, especially nip.io names and trycloudflare.com tunnels. The third is your access logs: rocket_beacon requests from clients that never loaded the page they report on, or ones that carry a full URL where only a domain name should be. Ordinary visitors also call rocket_beacon, so a high count alone proves nothing.
If you do find a PHP file you can’t explain, this next part is our view. Deleting the file isn’t enough. Its presence means someone could run code on the server, so change the admin passwords, the database credentials and the WordPress secret keys, and look for anything else that was planted. We cover how to look in how to tell your site has been hacked and the first 24 hours after you find out.
The number of sites actually compromised, the share of sites with either vulnerable option turned on, and whether WP Media published its own advisory are all unknown. We haven’t read the vulnerability database entries (NVD and similar) as of writing. Patchstack sells a protection product, and its attack counts only cover what that product can see. The company says it will keep updating its post, so check there for developments.
We take inventory of plugins and set up update routines as part of building and maintaining WordPress sites. A caching plugin is needed for speed because WordPress assembles each page with PHP and a database every time someone views it. If you replace the site with a static one, the pages are built before publication, so neither the caching plugin nor PHP running on the server is needed. If you’re not sure what’s installed on your site, get in touch.
We are currently taking free consultations on security. Questions like "Is our site safe?" or "Where should we start checking?" are welcome.
