Hackers exploit critical WP Rocket flaw allowing unauthenticated remote code execution
Threat actors are actively exploiting a newly patched critical flaw, tracked as CVE-2026-125812, in the WP Rocket caching plugin for WordPress. It is rated 9.8 on the CVSS[1] scoring system and affects all versions before 3.24.2, which was released on November 19, 2026. According to WP Rocket's website, the premium plugin is used by more than 5.5 million WordPress sites and over 386,000 customers worldwide. Patchstack researcher Dave Jong says the flaw lets unauthenticated attackers write and execute PHP code on sites that have LazyLoad for CSS background images or Host Fonts Locally turned on.
The problem lies in a small script that the plugin runs in visitors' browsers to measure each page and send the results to a public AJAX[2] endpoint, after which the page is optimized. Because the plugin does not validate reported URLs strictly enough, an attacker can send a crafted report that makes the site download content from an attacker-controlled server and save it as a PHP file for later execution. Patchstack says the first exploitation attempt was recorded on November 25, 2026, at 3:27 p.m. UTC, and that attacks have since grown into large-scale automated efforts, with tens of thousands of attempts blocked on November 26, 2026 alone. Wordfence said it blocked 135 attacks against this vulnerability in the past 24 hours.
Patchstack lists indicators of compromise[3], including "rocket_beacon" requests from clients that never loaded the page they report on, outbound requests to unfamiliar hosts, nip.io domains or temporary trycloudflare.com tunnels, and unexpected wp-media-*.php files in the wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ directories. The update stops new attacks but does not remove files an attacker has already planted, so sites that ran a vulnerable version without protection should check those directories and review historical logs.
Repository WP Rocket github.com
WP Rocket is a premium caching plugin for WordPress that speeds up websites by optimizing how pages load.
Product WP Rocket wp-rocket.me
WP Rocket is a premium caching plugin for WordPress that speeds up websites by optimizing how pages load.
Read the original thehackernews.com
Sources
-
The Hacker News
Hackers Target Critical WP Rocket Flaw Allowing Unauthenticated Remote Code Execution



