Attackers started exploiting a critical-severity vulnerability in the WP Rocket WordPress plugin less than a week after patches were released, according to WordPress security firm Patchstack. WP Rocket is a premium caching and performance optimization plugin, and the company says it is used on more than 5.6 million sites.
The Vulnerability
The flaw, tracked as CVE-2026-125812 with a CVSS score of 9.8, affects versions 3.15 through 3.24.1. The plugin does not sufficiently validate URLs reported by the browser-side script it uses to measure pages during optimization. An attacker can send a crafted report that causes the target site to download attacker-controlled content and save it as a PHP file. That file is then executed on the server, resulting in unauthenticated code execution.
The bug can only be triggered when either the LazyLoad for CSS background images feature or the Self-host Google Fonts feature is enabled. Both are disabled by default, but administrators often turn them on to improve performance.
Timeline and Exploitation
- WP Rocket version 3.24.2 was released on November 19 with patches for the issue.
- In-the-wild exploitation began on November 25, according to Patchstack.
- Patchstack reported tens of thousands of blocked attempts on November 26 alone, indicating automated campaigns.
Patchstack observed attempts targeting one or both feature paths. Payloads were hosted on bare IP addresses, wildcard DNS names, temporary Cloudflare tunnels, and potentially compromised WordPress sites. The firm identified several independent operators. One cluster sent byte-identical requests from four residential IP addresses, which Patchstack described as a sign of a rotating proxy pool. Since November 25, the ten most active addresses accounted for roughly half of all blocked attempts.
Recommended Actions
- Update WP Rocket to the latest version.
- Check sites for signs of exploitation, since patching does not remove files or accounts that attackers created on already compromised sites.
- If a site cannot be updated immediately, or its WP Rocket license has expired, disable the LazyLoad for CSS background images and Self-host Google Fonts features to block the known attack paths.
- Organizations managing many sites can use a mitigation helper plugin that is available for this purpose.
