Active Exploitation Targets Critical WP Rocket WordPress Vulnerability

Threat actors are actively exploiting CVE-2026-125812, a critical vulnerability in the WP Rocket caching plugin for WordPress. The flaw carries a CVSS score of 9.8 and affects all WP Rocket releases before version 3.24.2, which was issued on November 19, 2026.
WP Rocket says its premium caching product is used by more than 5.5 million WordPress sites and has over 386,000 customers worldwide. Patchstack researcher Dave Jong said the vulnerability allows unauthenticated attackers to write and execute PHP code on affected websites.
How the vulnerable optimisation path works
The issue is tied to a small script that runs in a visitor's browser. It measures a page, sends the results to a public AJAX endpoint, and enables the plugin to optimise the page. Insufficient validation of the URLs in those reports creates the opening for abuse.
An attacker can submit a crafted report that causes the target website to retrieve content from an attacker-controlled server and store it as a PHP file. That file can then be executed. Patchstack identified two potentially abusable features: CSS background-image lazy loading and local hosting of Google Fonts.
Both functions are disabled by default, but Patchstack noted that they are common on sites configured for performance. The affected condition applies where either LazyLoad for CSS background images or Host Fonts Locally is enabled on a site running a vulnerable WP Rocket version.
Automated activity has intensified
Patchstack recorded the first exploitation attempt against WP Rocket's measurement endpoint on November 25, 2026, at 3:27 p.m. UTC. It said the activity then developed into large-scale automated exploitation, with tens of thousands of attempts blocked on November 26 alone.
Wordfence separately reported blocking 135 attacks targeting the vulnerability in the preceding 24 hours. The activity has been associated with multiple IP addresses, including 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.
What site operators should check
Patchstack highlighted several indicators of compromise. These include rocket_beacon requests from clients that did not load the page they claim to report, as well as outbound connections from the web server to unfamiliar hosts, nip.io domains, temporary trycloudflare.com tunnels, or potentially compromised WordPress sites.
Administrators should also look for unexpected files named wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/, and wp-content/. Updating to WP Rocket 3.24.2 prevents new exploitation through this flaw, but Patchstack warned that it does not delete files already placed by an attacker.
The practical business implication is to treat the update as only the first step: organisations that operated an exposed version should inspect the specified directories and historical logs, then investigate suspicious outbound requests before returning the site to normal operations.

