Hackers have begun aggressively exploiting a critical-severity remote code execution vulnerability in the widely used WP Rocket WordPress plugin, just days after developers rolled out security patches to address the flaw. Cybersecurity and WordPress security firm Patchstack has issued urgent warnings regarding the active exploitation campaigns, which rapidly evolved from targeted probes into automated mass-scanning efforts involving tens of thousands of blocked malicious requests within a 24-hour window.
WP Rocket is a popular premium caching and performance optimization plugin relied upon by website administrators to speed up loading times, improve overall page performance scores, and reduce underlying server loads. Because of its effectiveness in streamlining website delivery, the plugin is currently installed and active on more than 5.6 million websites across the internet. The plugin achieves its high performance by utilizing a browser-side script that measures pages and reports the results back, while simultaneously writing cached static files directly into the web root of the hosting server.
However, this architecture opened the door to a severe security defect tracked as CVE-2026-125812, which carries a maximum critical CVSS severity score of 9.8. The vulnerability exists because WP Rocket versions 3.15 through 3.24.1 failed to sufficiently validate reported URLs during the internal page optimization process. By leveraging this improper validation, an unauthenticated remote attacker could exploit the bug by submitting a carefully crafted report to a target website. This malicious report forces the vulnerable site to download attacker-controlled content from an external source and save it locally as a PHP file. Once the file is successfully saved within the server environment, the embedded malicious code is executed, leading directly to unauthenticated remote code execution and potential full compromise of the underlying web server.
Despite the severity of the flaw, CVE-2026-125812 cannot be triggered universally on every WP Rocket deployment. The vulnerability can only be exploited on sites where specific performance features are actively enabled: either the LazyLoad for CSS background images feature or the Self-host Google Fonts feature. While the plugin conveniently ships with both of these specific performance optimization features disabled by default, website administrators routinely enable them to boost page speed metrics and satisfy modern web performance standards. Consequently, a vast portion of the millions of sites running the affected plugin versions were sitting in a vulnerable state, unaware that optimizing their website performance for visitors had inadvertently opened a dangerous entry point for malicious actors.
In response to the discovery of the vulnerability, the WP Rocket development team released version 3.24.2 on November 19, containing crucial patches designed to properly validate reported URLs and close the attack vector. Unfortunately, threat actors quickly reverse-engineered the patch or discovered the vulnerability independently, launching in-the-wild exploitation attempts just six days later, on November 25, according to telemetry and analysis shared by Patchstack.
The velocity of the attacks surprised security researchers. Within a single day of the initial wave, malicious activity escalated rapidly into automated scanning and exploitation campaigns. Patchstack reported tracking tens of thousands of blocked exploitation attempts on November 26 alone, illustrating the aggressive automated nature of modern web application attacks.
Monitoring by Patchstack revealed that multiple independent malicious operators are currently active in the wild, utilizing a variety of infrastructure types to obscure their origins and maximize their reach. Security analysts observed exploitation attempts targeting either or both of the vulnerable feature paths, with payloads hosted on bare IP addresses, wildcard DNS names, temporary Cloudflare tunnels, and even potentially compromised WordPress websites acting as staging grounds or distribution points for the malicious code.
Further analysis of the attack traffic highlighted sophisticated behaviors among the threat actors. Several distinct clusters of activity were identified. While some operators continuously broadcasted a single identical payload from static infrastructure to website after website, others displayed more evasive tactics. One specific cluster of malicious requests originated from four distinct residential IP addresses while transmitting byte-identical payloads, strongly suggesting the use of a rotating proxy pool designed to bypass basic IP-based rate limiting and firewall blocking mechanisms. Furthermore, Patchstack noted that since the attacks began on November 25, the ten most active malicious IP addresses alone accounted for roughly half of all blocked exploitation attempts, indicating that a significant concentration of the attack volume is driven by heavily automated botnets or dedicated threat groups.
Given the active exploitation of CVE-2026-125812 in the wild, WordPress website owners and system administrators are strongly advised to update their WP Rocket installations to the latest available version immediately. Security experts emphasize that simply applying the software update, however, is not a complete remedy for sites that were already compromised prior to patching. The update patches the code vulnerability to prevent future intrusions, but it does not automatically remove any unauthorized files, backdoors, or rogue administrator accounts that attackers may have successfully created on sites during the window of vulnerability. Administrators of updated sites must perform thorough integrity checks and security audits to ensure their environments are entirely clean.
For organizations managing websites with expired WP Rocket licenses, or for administrators whose production environments prevent them from applying the software update immediately, alternative mitigation measures are available. Administrators should temporarily disable the LazyLoad for CSS background images and the Self-host Google Fonts features within their WP Rocket settings, which effectively closes the specific attack paths exploited by the vulnerability. To assist larger organizations and agencies managing multiple websites, a dedicated mitigation helper plugin has also been made available to streamline the process of securing vulnerable instances without requiring an immediate full version upgrade.

