Cybersecurity experts have revealed that a critical vulnerability in the WP Rocket caching plugin for WordPress is being actively exploited by hackers. Identified as CVE-2026-125812, this security flaw is rated 9.8 out of 10 on the CVSS scale. The issue affects all versions of the plugin before 3.24.2, which was updated on November 19, 2026. WP Rocket, widely used by over 5.5 million WordPress sites globally, has become a target due to this flaw.
Understanding the Vulnerability
The vulnerability enables unauthenticated attackers to write and execute PHP code on sites using affected versions of the plugin. Patchstack researcher Dave Jong explains that sites with features like ‘LazyLoad for CSS background images’ or ‘Host Fonts Locally’ turned on are particularly vulnerable. The problem originates from a script designed to optimize pages, which lacks strict URL validation, allowing attackers to exploit it.
Attackers can manipulate this script, sending crafted URLs to make the site download and execute content from a malicious server. Both the ‘CSS background lazy loading’ and ‘local hosting of Google Fonts’ features, although off by default, are commonly enabled on performance-optimized sites, increasing the risk of exploitation.
Escalation of Attacks
According to WordPress security company Patchstack, the first recorded exploitation occurred on November 25, 2026. Since then, the attacks have intensified, with tens of thousands of attempts thwarted on November 26, 2026, alone. The attacks have been traced back to several IP addresses, highlighting the scale and automation behind the offensive.
Wordfence, another security firm, reported blocking 135 attacks within a single day, underscoring the urgency of addressing this vulnerability. The affected IP addresses and patterns of attack are being closely monitored by cybersecurity teams.
Protective Measures and Recommendations
Patchstack has outlined several indicators of compromise, including suspicious ‘rocket_beacon’ requests and unexpected outbound requests to unfamiliar domains. They also advise checking for unauthorized PHP files in specific directories such as ‘wp-content/uploads/’.
The latest update to WP Rocket addresses new attacks but does not rectify any damage already done. It is crucial for site administrators who suspect their sites ran a vulnerable version to inspect the recommended directories and review past logs for any anomalies.
This incident underscores the importance of timely updates and vigilant monitoring of website security. As hackers become more sophisticated, staying informed and proactive is essential in safeguarding online assets.
