The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Sunday, 29 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-125812: WP Rocket flaw exploited in the wild

By The Daily Byte ·29 Nov 2026 ·4 min read
A laptop displaying the WordPress logo on its screen

Attackers are actively exploiting a critical flaw in WP Rocket, the WordPress caching plugin used on more than 5.5 million websites, to run their own code on vulnerable sites without logging in. The vulnerability, tracked as CVE-2026-125812, carries the highest severity rating of 9.8 out of 10, and security firm Patchstack says exploitation is under way right now.

Patchstack, which published its advisory on 27 November 2026, says it saw the first exploitation attempt on 25 November at 15:27 UTC. Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on 26 November alone. Several independent groups of attackers are now active, and the ten most active addresses accounted for roughly half of all blocked attempts since 25 November.

Which sites are at risk

The flaw affects WP Rocket versions before 3.24.2, but only on sites where one of two features is switched on: LazyLoad for CSS background images, or Host Fonts Locally, which self-hosts Google Fonts. Both features are off by default, but both are common on performance-tuned sites.

How the attack works

The attack abuses WP Rocket’s own performance beacon. The plugin runs a small script in every visitor’s browser that measures the page and reports the results to a public WordPress endpoint, admin-ajax.php, using the action rocket_beacon. WP Rocket does not check the reported web addresses strictly enough. An attacker sends a crafted report carrying a stylesheet or font address whose path contains parent-directory segments, such as ../, and ends in .php. WP Rocket fetches the attacker’s file and saves it outside its cache folder, in a place the web server can reach. When the attacker then requests that file, the server runs the attacker’s code.

Once code runs on the server, an attacker can read the site’s wp-config.php file, reuse its database credentials, create an administrator account and change plugin or theme files. In short, a successful attack hands over the whole site.

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’s telemetry lists the busiest source as 103.235.74.71, on the Ikubaru network in Indonesia, with 5,352 blocked requests, followed by addresses on DigitalOcean and other hosting networks.

What to do now

The fix is WP Rocket version 3.24.2, released on 19 November 2026. The update tightens validation of cached CSS, font and preconnect files so a crafted address can no longer escape the cache folder. Site owners should update to 3.24.2 or later now, then clear the WP Rocket cache.

If an update is not possible at once, both affected features should be switched off: in WP Rocket’s settings, turn off LazyLoad for CSS background images and Host Fonts Locally, then purge the cache. Patchstack also offers a mitigation rule that blocks these attempts without changing plugin code.

Updating alone is not enough for a site that was already attacked. The update stops new attacks, but it does not remove files an attacker already planted. Patchstack advises checking for unexpected PHP files in wp-content, wp-content/uploads and wp-content/wp-rocket-config, for example files named wp-media-*.php, and reviewing server logs for rocket_beacon requests from visitors who never loaded the page they reported on. Any site that ran a vulnerable version without protection since 25 November should treat that check as required, not optional.

No public proof-of-concept exploit has been published as of 28 November, and the flaw had not been added to the US CISA Known Exploited Vulnerabilities catalogue as of the same date. That does not make it safe to wait: Patchstack’s own telemetry shows real attacks already running, and the plugin’s huge install base makes it a tempting target for automated campaigns.