Skip to main content

WP Rocket Flaw Is Being Exploited. Check Your Site.

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:

  1. WP Rocket is installed at a version below 3.24.2. WP Media lists versions 3.15 through 3.24.1 as vulnerable.
  2. 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:

  1. Log in to your WordPress dashboard.
  2. Open Plugins and find WP Rocket.
  3. Read the version number shown with WP Rocket.

To check the two settings:

  1. Open WP Rocket > Page Optimization > Image & Media. On versions before 3.24, open the Media tab instead.
  2. 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/, in wp-content/uploads/, or directly in wp-content/. Patchstack gives wp-media-*.php as 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.io names or trycloudflare.com addresses.

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

Tags: wordpress-security plugin-security wp-rocket website-security small-business-websites robben-media
JJ

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.

What Our Clients Say

Real results from real businesses. No fluff, no fake reviews.

4.9/5.0 from 71 reviews
“Jeremy is an absolute wealth of knowledge. As a newer business owner he has helped me establish an online presence. I appreciate how thorough and how well he explains even the basics so I can always understand what is needed. Looking forward to continuing to build my relationship with Jeremey and Robben Media.”
Cara O
“Robben Media has done amazing work for us. From creation of a website, to maintenance, to SEO - you name it, they're a master at it. We switched from a company we "thought" was doing a good job - but once we went to Robben Media our online success exploded. They are super nice, knowledgeable, and attentive. I would highly suggest you hire this team if you want to grow your company!”
JB
Joe Burns
“Jeremy is extremely knowledgeable in his field. He is always prepared and armed with the knowledge and experience needed to grow your business online. If you want your business to be easily found in web searches, or if you need some help building or improving your website, Jeremy with Robben Media is the one to call!”
AK
Amber Klempke

Ready to Put These Strategies to Work?

Your competitors are already investing in digital marketing. Let's make sure you're not left behind.