Skip to content

Tech StacksNews take3 min read

WP Rocket Flaw Is Being Exploited: Update to 3.24.2 Now

WP Rocket 3.15 to 3.24.1 can be taken over when one of two features is on, and Patchstack has seen automated attacks. Update to 3.24.2, then check that nothing was planted before you did.

By ·

Source: wp-rocket.me

If your WordPress site uses WP Rocket, update it to version 3.24.2 today. A critical flaw in versions 3.15 to 3.24.1, CVE-2026-125812, lets an attacker run code on the site without logging in, and attacks are already happening. If you cannot update right away, turn off two settings, and either way, have the site checked for anything an attacker may have left behind.

This take is part of my tech stacks writing. It follows last week’s take on phpAfterShell, a critical PHP flaw, which hit the same kind of WordPress sites from the server side.

What happened?

WP Rocket, a popular caching plugin for WordPress, published a security advisory for CVE-2026-125812, last updated November 27, 2026. It says the issue “is fixed in the WP Rocket 3.24.2 version, released on November 19, 2026,” and that “an attacker can execute arbitrary code on the affected website without authentication.”

Hands typing on a laptop showing the WordPress post editor, with a blurred colorful screen in the background

WP Rocket is a caching plugin installed on WordPress sites to make pages load faster. Photo: Archeduc - Vormingplus Halle-Vilvoorde, CC0.

WP Rocket posted the update on X on November 21:

WP Rocket ™@wp_rocket

Our team has been working on some important security enhancements that have been released today.

Therefore, we recommend updating to our latest minor version, WP Rocket 3.24.2 to keep your site secure 🔒

See full details in our changelog → tr.ee/S2Fhjk

WP Rocket graphic reading 3.24.2, Security Enhancement: Update Now!, with the WP Rocket logo on a dark blue background
Post by WP Rocket ™ (@wp_rocket) on X, 21 Nov 2026

Who is affected?

The advisory lists “WP Rocket versions 3.15 through 3.24.1” where at least one of two features is enabled: “LazyLoad for CSS background images” or “Self-host Google Fonts.” Both are common speed settings, so many sites will have at least one switched on.

A long aisle of white server cabinets with small screens and keyboards in a brightly lit data center

The flaw lets an attacker run code on the web server itself, without logging in. Photo: torkildr, CC BY-SA 2.0.

How serious is it?

Very. Code execution without a login is the worst kind of plugin bug, and WP Rocket’s advisory says “Patchstack has reported active automated exploitation attempts targeting vulnerable sites,” linking to Patchstack’s write-up. BleepingComputer reported the attacks on November 30:

BleepingComputer@BleepinComputer

Hackers exploit critical WordPress WP Rocket flaw to breach sites

bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites

bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites

Illustration of a WordPress logo between rockets taking off over red smokebleepingcomputer.comHackers exploit critical WordPress WP Rocket flaw to breach sitesHackers are actively exploiting a critical flaw, tracked as CVE-2026-125812, in the WP Rocket caching plugin that allows executing arbitrary PHP code on WordPress sites.
Post by BleepingComputer (@BleepinComputer) on X, 30 Nov 2026

What does it mean for small businesses and founders?

WP Rocket tends to sit on sites where someone cared about speed: online shops, booking pages, agency-built company sites. In the Philippines, many of those sites were built once by a freelancer or agency and are rarely touched since. If nobody is watching plugin updates, a site like that can be running 3.24.1 today.

The advisory is also clear that updating is not the end: “Any files or accounts an attacker already created require separate investigation.”

What should you do now?

  1. Check the WP Rocket version. In WordPress, go to Plugins and look for WP Rocket. Anything from 3.15 to 3.24.1 needs action.
  2. Update to 3.24.2 or later. WP Rocket says to “install WP Rocket 3.24.2 or later as soon as you can.”
  3. If you cannot update today, turn off the two features. Go to WP Rocket, then Page Optimization, then Image & Media (the Media tab on versions before 3.24), and turn off “LazyLoad for CSS background images” and “Self-host Google Fonts.” WP Rocket also offers a helper plugin that switches both off.
  4. Check for a break-in. If either feature was on while the site ran an old version, the advisory says to “ask your hosting provider or security team to check for signs of compromise.” Look for new admin users and unfamiliar files.
  5. Ask your developer or agency in writing to confirm the version and the check, if someone else manages the site.

How this affects business

  • Any WordPress site with WP Rocket should be on 3.24.2 or later this week, whether the site is managed in-house or by an agency.
  • A site that ran an older version with either feature on needs a check for planted files or new admin accounts, not just an update.

Tools in this post

Share

Keep reading

More in Tech Stacks.

Get new posts by email

One email every two weeks: new posts, news takes and one personal note, so you keep up with AI, automation and SEO without checking the site.

No spam. Unsubscribe any time. By subscribing you agree to the privacy policy.

Prefer a feed? Follow by RSS. About the newsletter.

It’s Showtime, folks! · All That Jazz (1979)