WP Rocket: mass attacks hit a flaw in the WordPress speed plugin
On sites running older WP Rocket versions, PHP code can be written and run without logging in, and mass attempts have been under way since 25 November. Update, then check your server.

What’s happening. A critical flaw (CVE-2026-125812, CVSS 9.8) in versions of the popular WordPress speed plugin WP Rocket before 3.24.2 lets an attacker write PHP code to the server and run it, without logging in (remote code execution). The vendor shipped the fix on 19 November 2026. Security firm Patchstack saw the first exploitation attempt on 25 November and blocked tens of thousands the next day; according to The Hacker News, Wordfence stopped 135 attacks in a single day. It’s like a door meant for the meter reader that lets in anyone who says they’ve come to take a reading.
Who’s affected. WordPress sites running WP Rocket older than 3.24.2 with either LazyLoad for CSS background images or Host Fonts Locally turned on. Both are off by default but common on speed-tuned sites. Patchstack says the plugin runs on more than 5.5 million sites, including many web shops and small-business sites.
What to do now
- Update WP Rocket to 3.24.2 or later today. If an agency or IT provider runs your site, ask them whether it’s done.
- If you can’t update right away, turn off the two settings above until you can.
- The update doesn’t clean up: if the site ran a vulnerable version without protection, look for unexpected PHP files (for example ones named
wp-media-*.php) inwp-content,wp-content/uploadsandwp-content/wp-rocket-config. - Check your logs for outbound connections from the web server to unfamiliar addresses. If in doubt, restore the site from a clean backup and change passwords.
Sources: Patchstack · WP Rocket changelog · The Hacker News · Patchstack database
We’ll update this as we learn more.
Made with the AI crew, reviewed by Péter
- The AI crew
- Collected and opened the vendor, researcher and press sources, wrote the alert and the English version.
- Me
- I requested the alert with immediate release; the crew published the text after the automated check, and I review it afterwards.
Before publishing I checked every claim myself, and the opinions are mine.