WP Rocket Flaw Is Being Exploited. Check Your Site.
Attackers are exploiting a flaw in WP Rocket, a WordPress caching plugin. If your site runs WP Rocket below version 3.24.2, update it today. The flaw is tracked as CVE-2026-125812 and rated 9.8 out of 10 (critical).
WP Media, the company behind WP Rocket, says more than 5.6 million sites use it. The flaw only works when one of two settings is on, and both are off by default. Check yours below.
What happened
WP Rocket has a public address on your site that collects page speed measurements from visitors’ browsers. It does not check the web addresses in those reports strictly enough. An attacker can send a fake report that makes your site download a file from the attacker’s server and save it as a PHP file. The attacker’s code then runs on your server. No login is needed.
Patchstack, a WordPress security firm, saw:
- November 19: WP Rocket released the fix, version 3.24.2.
- November 25: the first attack attempts, done by hand.
- November 26: automated campaigns, with tens of thousands of blocked attempts that day alone.
Several separate attackers are active, according to Patchstack. The attacks try both vulnerable settings in one request, so whichever one your site has on, one of them fires.
Are you affected?
Your site is affected only if both of these are true:
- WP Rocket is installed at a version below 3.24.2. WP Media lists versions 3.15 through 3.24.1 as vulnerable.
- LazyLoad for CSS background images or Self-host Google Fonts is turned on. Patchstack calls the second one “Host Fonts Locally.” Both are off by default.
To check the version:
- Log in to your WordPress dashboard.
- Open Plugins and find WP Rocket.
- Read the version number shown with WP Rocket.
To check the two settings:
- Open WP Rocket > Page Optimization > Image & Media. On versions before 3.24, open the Media tab instead.
- Look at LazyLoad for CSS background images and Self-host Google Fonts.
If you can’t log in or can’t find these, ask whoever built or hosts your site.
What to do
Update to WP Rocket 3.24.2 or later. In the dashboard, open Plugins and select Update now for WP Rocket. Then confirm the version number. If you don’t see an update, use the steps below for turning the two settings off, and see WP Rocket’s update guide.
If you can’t update yet, turn off both settings: LazyLoad for CSS background images and Self-host Google Fonts. Save the change and confirm both read as off. WP Media says this blocks the documented attack paths. Keep both off until you update.
If you ran a vulnerable version with either setting on, the update does not clean up after an attack that already happened. It stops new attacks through this flaw. It does not remove files or accounts an attacker already created. Ask your host or developer to check for:
- Unknown PHP files in
wp-content/wp-rocket-config/, inwp-content/uploads/, or directly inwp-content/. Patchstack giveswp-media-*.phpas an example name. - Administrator users you did not create. In the dashboard, open Users and review the administrators.
- Outbound connections from your web server to unfamiliar hosts, especially
nip.ionames ortrycloudflare.comaddresses.
If they find anything, our guide to the first 24 hours after a hack covers the response in order.
What Robben Media checked
Our update inventory, generated November 30, 2026, covers the 45 WordPress sites we host or manage. WP Rocket does not appear in the plugin inventory of any of them.
The inventory does not cover must-use plugins, which load without appearing in the normal plugin list. It also covers only the sites we host or manage. If another agency, host or freelancer runs your site, ask them whether they checked.
Sources
- WP Media, “WP Rocket security advisory and mitigation steps for CVE-2026-125812,” last updated November 27, 2026
- Patchstack, “Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack,” November 27, 2026
- WP Rocket press page, install base
- BleepingComputer, “Hackers exploit critical WordPress WP Rocket flaw to breach sites,” November 30, 2026
Jeremy Johnson
Owner
Jeremy co-owns Robben Media and directs strategy for every client engagement. He studied Computer Engineering at Missouri S&T and brings deep technical expertise in web development, SEO, and automation. Before acquiring Robben Media in 2023, Jeremy led marketing and branch management in the mortgage industry. He believes marketing should be measured by revenue generated, not impressions reported.