WP Rocket flaw is under attack: how to tell if your WordPress site is exposed

Cybersecurity

Quick answer: A bug in WP Rocket, a popular WordPress speed plugin, lets anyone on the internet plant and run code on some sites without logging in. Attackers started using it on Nov 25. If your site runs WP Rocket, update to 3.24.2 now, then check for files the attackers may have already left behind.

Affected: WP Rocket (WordPress caching plugin) versions before 3.24.2, on sites with “LazyLoad for CSS background images” or “Host Fonts Locally” turned on. Both settings are off by default. Fix: Update to WP Rocket 3.24.2 or later. If you can’t update yet, turn off both settings. (Patchstack advisory) Exploited yet? Yes. Patchstack says its telemetry saw the first exploitation attempt on Nov 25, 2026 at 15:27 UTC and “tens of thousands of blocked attempts on November 26 alone,” per Patchstack, Nov 27.

What happened

Am I affected?

You’re exposed only if all three are true:

  1. Your WordPress site uses WP Rocket.
  2. The plugin version is older than 3.24.2 (check WordPress admin > Plugins).
  3. “LazyLoad for CSS background images” or “Host Fonts Locally” is turned on in WP Rocket’s settings.

If you just read blogs that use WordPress, there’s nothing for you to do.

What to do now

  1. Update WP Rocket to 3.24.2 or later.
  2. Can’t update today? Turn off both settings above until you can.
  3. Look for leftovers. Patchstack warns the update “does not remove files an attacker already planted.” It suggests checking for unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/ (for example wp-media-*.php), and reviewing server logs for unusual outbound connections. Follow Patchstack’s detection list rather than a summary.
  4. If you find something, treat the site as compromised and bring in your host or developer.

Sources

Get the daily catch-up: subscribe to AltTabDaily

AltTab Dad