WP Rocket is one of the most popular paid caching plugins for speeding up WordPress sites. On 27 November Patchstack reported that CVE-2026-125812, a flaw in the plugin, is already being used in real attacks. It is rated CVSS 9.8: the attacker needs no account and no password. The first attempt was recorded on 25 November, within a day the attacks were automated, and tens of thousands of requests were blocked on 26 November alone.
The problem lies in the script the plugin uses to measure pages. The browser sends its results to admin-ajax.php with the rocket_beacon action, and the plugin does not check the URLs in that report carefully enough. An attacker can make the site download a file from an outside server and save it as a .php file, then open that file to run their own code. The risk only exists when "LazyLoad for CSS background images" or "Host Fonts Locally" is turned on. Both are off by default, but they are often enabled on sites tuned for speed.
The fix is in version 3.24.2, released on 19 November, and 3.24.3 followed on 26 November. Check your version on the Plugins screen or with wp plugin list. If you cannot update right away, turn off both settings for now. Updating does not remove files that were already planted, so look for unexpected PHP files (for example wp-media-*.php) in wp-content, wp-content/uploads and wp-content/wp-rocket-config. Also check the access logs for rocket_beacon requests since 25 November, and the server for outbound connections to nip.io and trycloudflare.com. If you find anything suspicious, change the admin, database and hosting passwords.
Sources: Patchstack: WP Rocket under active attack, Rescana: CVE-2026-125812 analysis, Patchstack database: vulnerability entry








