Critical WP Rocket Flaw Under Active Exploitation, PatchStack Reports
“Attackers use both feature paths, sometimes in one request, so that whichever feature a site has enabled, one of them fires,” according to security firm Patchstack.
A critical vulnerability in the WP Rocket caching plugin for WordPress, tracked as CVE-2026-125812, is currently under active exploitation by attackers. The flaw allows unauthenticated users to execute arbitrary PHP code on affected websites, according to BleepingComputer. The security firm Patchstack assigned the vulnerability a CVSS score of 9.8, indicating a critical severity level.
WP Rocket, developed by WP Media, is installed on more than 5.6 million websites, according to the vendor. The vulnerability stems from insufficient validation of data sent to a public endpoint, which allows attackers to download and run malicious code from external sources.
The exploit specifically targets two features: “LazyLoad for CSS background images” and “Host Fonts Locally,” which WP Media refers to as “Self-host Google Fonts.” While both features are disabled by default, they are frequently utilized on performance-optimized sites, as reported by The Parameter. Patchstack notes that both features are off by default but are “common on performance-tuned sites.”
Patchstack recorded the first manual exploitation attempts on November 25 at 15:27 UTC. Within 24 hours, the activity transitioned into fully automated campaigns. Patchstack reported blocking more than 25,000 malicious requests on November 26 alone, noting that multiple independent attackers are involved in the campaign.
WP Media released a fix in version 3.24.2 on November 19. The vendor urges site administrators to update immediately. For users unable to update, WP Media provides a helper plugin to disable the affected features in bulk, or administrators can manually deactivate them via the plugin’s page optimization settings.
Security researchers warn that updating the plugin does not remove malicious files already placed on a server. Administrators are advised to inspect their directories for suspicious PHP files, such as those named wp-media-*.php, and to review server logs for unauthorized outbound connections.
“Any files or accounts an attacker already created require separate investigation,” WP Rocket stated in its advisory.
‼️ Hackers are attacking a flaw in WP Rocket, a WordPress speed plugin, that lets them run their own code on a site without logging in. Security firm Patchstack saw the first attack on 25 November and blocked tens of thousands of attempts the next day alone. The plugin collects… pic.twitter.com/x2gCmKKtXe