Cybersecurity

Patchstack Says a Critical WP Rocket Flaw Is Under Active Attack. Here's What to Ask Your Provider.

Patchstack says attackers are actively exploiting a critical flaw in WP Rocket, a popular WordPress caching plugin, that can let someone run their own code on a website without logging in. WP Rocket's developer fixed it in version 3.24.2 and says an update does not undo anything an attacker already planted. Here's what to ask your web or IT provider.

Published December 1, 2026. Patchstack's report and WP Rocket's advisory are dated November 27, 2026.

If your business website runs on WordPress, ask this week whether it uses the WP Rocket plugin. WordPress security firm Patchstack says a critical flaw in WP Rocket, tracked as CVE-2026-125812, "is currently being targeted in the wild." Patchstack rates it 9.8 out of 10 (Critical) and lists WP Rocket at more than 5.5 million installs. WP Rocket is a caching plugin that many sites use to load pages faster.

What the flaw does

WP Rocket's developer, WP Media, says that on affected sites "an attacker can execute arbitrary code on the affected website without authentication." In plain terms, someone who never logs in can make the site run their code.

Patchstack explains how. WP Rocket runs a small script in visitors' browsers that measures each page and reports back to a public endpoint on the site. Patchstack says WP Rocket does not check those reports strictly enough, so a crafted report can make the site download content from an attacker's server, save it as a PHP file, and run it.

Which sites are affected

WP Rocket's advisory says the flaw affects versions 3.15 through 3.24.1, but only when at least one of two optional features is turned on: "LazyLoad for CSS background images" or "Self-host Google Fonts." Patchstack calls the second one "Host Fonts Locally" and says both are off by default, "but both are common on performance-tuned sites."

WP Rocket fixed the flaw in version 3.24.2, released November 19, 2026.

What Patchstack is seeing

Patchstack says it saw the first exploitation attempt on November 25, 2026, at 15:27 UTC (10:27 a.m. ET). "The first attacker worked by hand," it says, and within a day the activity had turned into automated campaigns, "with tens of thousands of blocked attempts on November 26 alone." Patchstack says "several independent operators are active" and that payloads are hosted on bare IP addresses, nip.io names, temporary trycloudflare.com tunnels, and other WordPress sites that are likely compromised.

What we are not claiming: We are not naming any victim or any threat actor, and we are not giving a count of hacked sites. Patchstack's numbers are blocked attempts, not confirmed break-ins.

Why updating is not the whole job

Both sources say the same thing. Patchstack: "The update stops new attacks, but it does not remove files an attacker already planted." WP Media: "Any files or accounts an attacker already created require separate investigation." If a site ran an affected version with either feature on, the update closes the door but does not check whether anyone already came in.

The dates matter too. Going by the two sources, the fix shipped November 19 and the first attempt Patchstack saw came six days later. Plugins update on their own schedule, so a business website deserves the same patch routine as the office PCs.

What to ask your provider

  1. Does our site run WP Rocket, and which version? Ask your web host, agency, or IT provider, and ask whether "LazyLoad for CSS background images" or "Self-host Google Fonts" was ever turned on.
  2. Are we on 3.24.2 or later? WP Media says to confirm the installed version after updating.
  3. If we cannot update yet, are both features off? WP Media's workaround, which also covers expired licenses, is to open WP Rocket > Page Optimization > Image & Media (the Media tab on versions before 3.24), turn off both features, save, and confirm both are off on each site. For agencies and hosts managing many sites, WP Media offers a mitigation helper plugin that turns both off in bulk. On WordPress Multisite, it must be activated on each affected subsite.
  4. If we were exposed, did anyone look for leftovers? Using Patchstack's detection guidance, ask your provider to check wp-content/wp-rocket-config/, wp-content/uploads/, and wp-content/ itself for unexpected PHP files, such as wp-media-*.php. Ask them to review server logs for odd rocket_beacon requests and for outbound connections to unfamiliar hosts, nip.io names, trycloudflare.com tunnels, or bare IP addresses.
  5. Were our WordPress accounts audited? WP Media warns about accounts an attacker may have created. Ask for a review of admin and user accounts, and remove any nobody recognizes.

The takeaway for IT decision-makers

Find out whether your site runs WP Rocket, get it to 3.24.2 or later or turn both features off, and if it was exposed, have someone check for planted files and unfamiliar accounts. If you would like help checking your website, Brotherly Technology can help.

Sources

One accountable technology partner.

Tell us what's slowing your team down. We'll show you exactly how we'd fix it — no pressure, no jargon.

Book a Free Consultation
Book a Free Consultation