# WP Rocket Flaw Is Being Exploited: Update to 3.24.2 Now

Original: https://urielpapa.com/news/wp-rocket-flaw-exploited-update
Author: Uriel Papa
Topic: Tech Stacks
Published: 2026-12-01
Source: https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/

> 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.

## Key takeaways

- CVE-2026-125812 affects WP Rocket 3.15 through 3.24.1 when "LazyLoad for CSS background images" or "Self-host Google Fonts" is enabled.
- WP Rocket says an attacker can execute arbitrary code on an affected site without authentication, and that Patchstack has reported active automated exploitation attempts.
- WP Rocket 3.24.2, released on November 19, 2026, fixes the flaw, and files or accounts an attacker already created need separate investigation.

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](/topics/tech-stacks "Tech stacks articles") writing. It follows last week's take on [phpAfterShell, a critical PHP flaw](/news/php-session-flaw-phpaftershell "phpAfterShell: critical PHP session flaw, patch to 8.5.13 now"), 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](https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/ "WP Rocket's security advisory and mitigation steps for CVE-2026-125812") 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."

*Image: 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](https://www.flickr.com/photos/26346696@N02/34063030750 "Archeduc - Vormingplus Halle-Vilvoorde's photo on Flickr"), [CC0](https://creativecommons.org/publicdomain/zero/1.0/ "Creative Commons CC0 1.0 public domain dedication").*

WP Rocket posted the update on X on November 21:

> Our team has been working on some important security enhancements that have been released today.\n\nTherefore, we recommend updating to our latest minor version, WP Rocket 3.24.2 to keep your site secure 🔒\n\nSee full details in our changelog → https://tr.ee/S2Fhjk
>
> [WP Rocket ™ (@wp_rocket) on X](https://x.com/wp_rocket/status/2124073354105631104)

## 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.

*Image: 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](https://www.flickr.com/photos/8718930@N07/3462606643 "torkildr's photo on Flickr"), [CC BY-SA 2.0](https://creativecommons.org/licenses/by-sa/2.0/ "Creative Commons Attribution-ShareAlike 2.0 license").*

## 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](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/ "Patchstack: critical WP Rocket RCE CVE-2026-125812 under active attack"). BleepingComputer reported the attacks on November 30:

> Hackers exploit critical WordPress WP Rocket flaw to breach sites\nhttps://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/\n\nhttps://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/
>
> [BleepingComputer (@BleepinComputer) on X](https://x.com/BleepinComputer/status/2127437632971956277)

## 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](https://github.com/wp-media/wp-rocket-helpers/raw/refs/heads/master/various/wp-rocket-mitigate-cve-2026-125812/wp-rocket-mitigate-cve-2026-125812.zip "WP Rocket helper plugin that disables the two affected features") 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.
