- 1 min read
- 2 sources
Summary
Hackers are exploiting a critical vulnerability (CVE-2026-125812) in the WP Rocket caching plugin for WordPress, affecting versions before 3.24.2. The flaw allows unauthenticated attackers to execute arbitrary PHP code, and automated attacks have been observed since late November. Site owners are urged to update to version 3.24.2 or later, or disable the affected features, to mitigate the risk.
Details
The vulnerability stems from insufficient validation of data sent to a public endpoint, enabling attackers to write and run PHP code from external sources. It impacts WP Rocket versions prior to 3.24.2 when either the “LazyLoad for CSS background images” or “Host Fonts Locally” options are enabled, though both are off by default. WP Media released a fix on November 19, 2026, and provided a helper plugin for multi‑site management. Patchstack reported low‑scale manual exploitation on November 25, escalating to automated campaigns the next day, blocking over 25,000 malicious requests. Users unable to upgrade should disable the two features via the plugin settings and monitor logs for suspicious activity.
Sources
Original source: BleepingComputer
Also reported by: The Hacker News
Part of a larger trend: Hackers exploit WP Rocket unauthenticated remote code execution flaw
Found an error? Report it.