What Happened
Security company Patchstack reports a critical flaw in WP Rocket, a popular WordPress speed plugin. It lets an attacker take control of a website without a password. Attacks are already happening, and the fix is WP Rocket version 3.24.2.
The flaw is tracked as CVE-2026-125812 and rated 9.8 out of 10 for severity. WP Rocket collects page measurements through a public endpoint on your site. It does not check the web addresses in those reports closely enough. An attacker can send a fake report that makes your site download a file from the attacker’s server, save it as a PHP file, and run it. Once that happens, the attacker can do whatever the site can do.
Not every WP Rocket site is exposed. The problem only applies to versions before 3.24.2 that have one of two settings turned on: “LazyLoad for CSS background images” or “Host Fonts Locally.” Both are off by default, but Patchstack notes they are common on sites tuned for speed.
Patchstack saw the first attack attempt on November 25, 2026. By November 26 it was blocking tens of thousands of attempts, many of them automated. Several separate groups are involved.
What It Means for Your Business
If your site uses WP Rocket, check the version now. Automated attacks hit sites by the thousands, so a small business site is not too small to be a target. A hacked site can send visitors to scam pages, host malware, send spam, or go offline. Any of those can cost you calls, leads and your Google standing.
Updating closes the hole, but it does not remove files an attacker already planted. If your site was running an older version with one of those settings on since November 25, ask your web person to check for unexpected PHP files (Patchstack mentions names like wp-media-*.php in the wp-content folders) and to look in the server logs for requests to rocket_beacon.
If you cannot update right away, turn off both features as a stopgap. Patchstack also offers its own protection rule for customers who use its service.
FAQ
Log in to your WordPress dashboard and open the Plugins page. If WP Rocket is listed, check the version number under its name. If you do not have a login, ask whoever built or hosts your site.
No. The update stops new attacks through this flaw. Any file an attacker already planted stays until someone finds and removes it, so have the site checked.
If you want a hand updating and checking your WordPress site, talk to us.