Hackers are actively exploiting a critical flaw in WP Rocket, one of the most popular WordPress caching plugins, and millions of websites could be at risk. The vulnerability lets an attacker run code on a site without ever logging in — and researchers say attacks have been ramping up for days.

The flaw, tracked as CVE-2026-125812, carries a CVSS score of 9.8 out of 10, the highest severity rating. It affects WP Rocket versions before 3.24.2 on sites that have one of two features switched on: LazyLoad for CSS background images or Host Fonts Locally, which self-hosts Google Fonts. WP Media, the company behind the plugin, says WP Rocket runs on more than 5.6 million websites.

No Login Needed to Take Over a Site

The problem sits in a small measurement script WP Rocket runs in visitors' browsers. The script checks which background images and fonts a page uses and reports the results to a public endpoint on the site, which the plugin then uses to build its optimised version of the page.

That endpoint did not check the reported values strictly enough. An attacker can send a fake report pointing at a file on their own server, and WP Rocket will fetch it and save it to disk — with a path that escapes the cache folder and ends in .php. Once the file is on the server, the attacker's code runs with the web server's privileges, giving them full control of the site.

No account is needed, no page has to be edited, and the attack can be launched from anywhere on the internet. The flaw was reported to Patchstack's bug bounty programme by researcher Vorelito on November 4, and the CVE record was made public on November 23.

Attacks Escalated Within a Day

Patchstack, which disclosed the vulnerability, says the first exploitation attempt it observed arrived on November 25 at 15:27 UTC. Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts recorded on November 26 alone.

Attackers are hosting their payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely already compromised. Patchstack says the ten most active addresses accounted for roughly half of all blocked attempts, with the busiest single address — 103.235.74.71, on an Indonesian network — responsible for more than 5,300 blocked requests.

WP Rocket released the fix, version 3.24.2, on November 19 — days before the first attacks were seen. But the update only stops new attacks. It does not remove files an attacker may already have planted, so sites that were running a vulnerable version when the attacks began need to check their file systems as well as update.

What Site Owners Should Do Now

Site owners should update WP Rocket to version 3.24.2 or later immediately, then purge the plugin's cache. Anyone who cannot update right away should turn off both LazyLoad for CSS background images and Host Fonts Locally — that closes both documented attack paths at once.

Both settings are off by default, but Patchstack notes they are common on sites tuned for speed, so a large share of WP Rocket's 5.6 million installations could be exposed. If a site was running an older version after November 25 without a firewall rule in front of it, patching is step one and checking for planted files is step two.

The incident is a reminder that performance plugins sit in the path of every visitor — a flaw in one can hand attackers the keys before its owner knows an update exists.