Attackers are exploiting a critical flaw in WP Rocket, the paid WordPress caching and performance plugin, according to Patchstack findings reported by BleepingComputer and SecurityWeek. Automated campaigns are targeting a vulnerability that lets attackers run their own PHP code on exposed sites without logging in. Source Source
Developer WP Media released the fix in version 3.24.2 on November 19, 2026. But updating doesn't remove files or accounts attackers may already have planted. Source Source
Which WP Rocket sites are exposed?
SecurityWeek identifies the vulnerability as CVE-2026-125812, with a critical CVSS severity score of 9.8, and reports that it affects versions 3.15 through 3.24.1. Exploitation requires at least one of these features to be enabled:
- LazyLoad for CSS background images
- Self-host Google Fonts, also described as Host Fonts Locally in BleepingComputer's reporting. Source Source
Both options are disabled by default. Simply having WP Rocket installed doesn't establish exposure to this attack path. This is a flaw in the plugin, not WordPress core. Source Source
According to SecurityWeek, the plugin inadequately validates URLs reported during page optimization. A crafted report can cause an affected site to download attacker-controlled content, save it as a PHP file and execute it on the server. That's a particularly nasty detour for a tool meant to make pages load faster. Source
Attacks became automated within a day
Patchstack first observed low-volume, manual exploitation attempts on November 25 at 15:27 UTC, BleepingComputer reports. By November 26, the activity had escalated into automated campaigns. Those first observed attempts came six days after the fix shipped. Source Source
BleepingComputer reports that Patchstack's platform blocked more than 25,000 malicious requests from multiple attackers. Those are blocked requests, not a count of hacked websites. Neither report establishes how many sites were successfully compromised. Source Source
Update, then investigate
WP Media recommends upgrading to WP Rocket 3.24.2 or later, according to BleepingComputer. Administrators who can't update immediately should disable both affected features to mitigate the reported attack paths. Source Source
SecurityWeek warns that the update leaves behind any files or accounts attackers created before patching. For sites that ran an affected version with either feature enabled, BleepingComputer advises reviewing logs for suspicious requests and outbound connections. Source Source
Comments