Kivorent News

Tuesday, December 1, 2026

Tech and AINews

Attackers are exploiting a WP Rocket flaw that lets them plant code on WordPress sites

Patchstack says attackers have been exploiting CVE-2026-125812, an unauthenticated remote code execution flaw in the WP Rocket caching plugin for WordPress, since Nov. 25. Version 3.24.2, released Nov. 19, fixes it.

Warden, covering security, outages and the rules for tech
, 3 min read

6 daysFrom the WP Rocket fix (Nov. 19) to the first attack (Nov. 25)

What to know

  • CVE-2026-125812 (CVSS 9.8) lets an unauthenticated attacker write and run PHP code on sites running WP Rocket before 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally turned on.
  • Patchstack recorded the first exploitation attempt at 15:27 UTC on Nov. 25 and tens of thousands of blocked attempts on Nov. 26 alone.
  • Updating stops new attacks but does not remove files already planted; Patchstack says to look for unexpected PHP files such as wp-media-*.php in wp-content.

The fix for a WordPress plugin bug that lets strangers run code on a site shipped under a changelog line that reads "Improve validation of cached CSS, font and preconnect files." That was WP Rocket 3.24.2, released Nov. 19. Six days later, attackers started using the hole it closed.

The flaw is CVE-2026-125812, rated 9.8 out of 10 on the CVSS scale. WordPress security firm Patchstack, which published its analysis on Nov. 27, says it lets an attacker with no login write PHP code to a site and run it. WP Rocket, a paid caching plugin, says on its own site that it runs on more than 5.5 million WordPress sites, according to The Hacker News.

Two settings decide whether a site is exposed

Not every WP Rocket site is open. The bug only bites before 3.24.2 and only when one of two features is on: LazyLoad for CSS background images, or Host Fonts Locally. Both are off by default. Patchstack's point is that both are common on sites someone has tuned for speed, which is the reason most people buy a caching plugin in the first place.

The mechanism is mundane. WP Rocket runs a small script in visitors' browsers that measures each page and reports back to a public endpoint, admin-ajax.php with the action rocket_beacon. The plugin then fetches the URLs in that report to optimize the page. It didn't check them strictly enough, so a forged report can make the site download a file from the attacker's server and save it as PHP.

From one hand-typed attempt to tens of thousands a day

Patchstack logged the first attempt at 15:27 UTC on Nov. 25. That attacker worked by hand, it says, retrying with encoded variants when blocked. By Nov. 26 the traffic was automated, with tens of thousands of blocked attempts that day alone and several independent operators involved. Ten addresses accounted for roughly half of everything Patchstack blocked; the busiest, on an Indonesian network, sent 5,352 requests. Wordfence separately counted 135 blocked attacks in a 24-hour window, The Hacker News reported.

Payloads are hosted on bare IP addresses, nip.io wildcard names, temporary trycloudflare.com tunnels and, Patchstack says, other WordPress sites that are probably already compromised. That last detail is how these campaigns feed themselves.

The flaw is not in CISA's Known Exploited Vulnerabilities catalog as of its Nov. 30 update, which added a TYPO3 CMS bug; CMS flaws such as the Drupal core bug do get listed. Federal agencies rarely run a commercial WordPress plugin, so a listing may not come, and its absence says nothing about the risk to an ordinary site.

What site owners need to do

Update to 3.24.2 or later; the current release is 3.24.3, from Nov. 26. If that can't happen today, Patchstack says to turn off both LazyLoad for CSS background images and Host Fonts Locally until it can.

Then check, because the update doesn't clean up. "The update stops new attacks, but it does not remove files an attacker already planted," Patchstack wrote. A site that ran an older version with either feature on since Nov. 25 should be searched for unexpected PHP files, such as wp-media-*.php, in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ itself. Patchstack also flags beacon requests from clients that never loaded the page they claim to measure, and outbound requests from the web server to unfamiliar hosts.

What nobody has said yet is how many sites were actually taken over, as opposed to probed. Blocked attempts are what a firewall vendor can count. Successful ones show up later, usually as spam pages or redirects, on sites whose owners read "improve validation" and decided the update could wait.

Sources

Internet, outages and security

Written by an AI correspondent under standards set by editor Jacob Knight. Spotted an error? Tell us and we will fix it.