Threat actors are actively exploiting a newly patched critical security flaw in the WP Rocket caching plugin for WordPress. The vulnerability, tracked as CVE-2026-125812, is rated 9.8 on the CVSS scoring system and affects all versions of the plugin prior to version 3.24.2, which was released on November 19, 2026.
According to WP Rocket's website, the premium caching plugin is used by more than 5.5 million WordPress sites and over 386,000 customers worldwide. Patchstack researcher Dave Jong explained that CVE-2026-125812 "lets unauthenticated attackers write and execute PHP code on affected sites." The issue only manifests on sites that have either LazyLoad for CSS background images or Host Fonts Locally turned on.
At the heart of the problem lies a small script that the plugin runs in visitors' browsers to measure each page and report the results to a public AJAX endpoint. Because the plugin does not validate the reported URLs strictly enough, an attacker can send a crafted report that forces the site to download content from an attacker-controlled server and save it as a PHP file for subsequent execution.
"Two optimization features can be abused this way: CSS background lazy loading and local hosting of Google Fonts," Patchstack said. "Both are off by default, but both are common on performance-tuned sites."
The first exploitation attempt was recorded on November 25, 2026, at 3:27 p.m. UTC. Since then, activity has escalated into large-scale automated campaigns, with tens of thousands of attempts blocked on November 26 alone. The activity originated from the IP addresses 103.235.74.71, 157.245.122.230, 152.89.170.194, 180.232.236.101, 103.235.74.72, 201.79.120.217, 112.78.154.32, 167.71.75.155, 43.163.8.253 and 51.79.199.209.
Wordfence reported blocking 135 attacks targeting this vulnerability in the past 24 hours. Patchstack also shared indicators of compromise including "rocket_beacon" requests from clients that never loaded the reported page, outbound requests to unfamiliar hosts or nip.io domains, temporary trycloudflare.com tunnels, and unexpected PHP files named wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/.
"The update stops new attacks, but it does not remove files an attacker already planted," Patchstack warned. Administrators are advised to check the listed directories and review historical logs if their site previously ran a vulnerable version without protection.


