WordPress security firm Patchstack has issued a warning that a significant security flaw in the WP Rocket plugin is being actively exploited by hackers shortly after a patch was released. This critical vulnerability, identified as CVE-2026-125812, poses a severe risk with a CVSS score of 9.8.
WP Rocket Plugin and Its Security Flaw
WP Rocket is a widely-used premium plugin that enhances website speed and performance. It is currently installed on over 5.6 million sites. The plugin works by caching web pages and optimizing their performance. However, a flaw in versions 3.15 to 3.24.1 did not adequately validate URLs, which could lead to unauthorized code execution on the server.
The vulnerability allows attackers to craft reports that force sites to download malicious content and save it as a PHP file. This flaw is particularly exploitable on setups where the LazyLoad for CSS background images or the Self-host Google Fonts features are enabled, although they are disabled by default to enhance performance.
Timeline and Nature of Exploitation
WP Rocket version 3.24.2, which addresses this vulnerability, was released on November 19. However, exploitation began just six days later on November 25. Patchstack observed rapid development of automated attack campaigns, with tens of thousands of attempts recorded on November 26 alone.
Exploitation attempts are targeting both feature paths and have been traced back to payloads hosted on various IPs, DNS names, and even compromised WordPress sites. Multiple operators are involved, employing tactics such as rotating proxy pools to evade detection, with the ten most active IP addresses responsible for nearly half of the blocked attempts.
Recommendations for WP Rocket Users
Website owners using WP Rocket are strongly advised to update to the latest version to mitigate these risks. For sites unable to update due to expired licenses, disabling the vulnerable features is recommended as a temporary measure. A mitigation helper plugin is also available for those managing multiple sites.
Administrators should remain vigilant and monitor for any signs of exploitation, as the update will not remove malicious files or accounts created before the patch. Taking prompt action is crucial to safeguard against these ongoing threats.
For more information on related vulnerabilities and security incidents, refer to updates on other exploited software such as Cacti, Hex Package Manager, Mitel MiCollab, and Drupal Installer patches.
