Attackers target WordPress sites through WP Rocket flaw CVE-2026-125812
Attackers are targeting WordPress sites running WP Rocket 3.15–3.24.1 with background image lazy loading or local Google Fonts enabled. Update WP Rocket to 3.24.2 or later. If either setting was on, ask your host to check the site for signs of a break-in.
The full story: Hackers Exploit Critical WP Rocket Vulnerability to Compromise WordPress Websites
If you manage a WordPress site that uses WP Rocket, open Plugins, select Update now for WP Rocket and check that the installed version is 3.24.2 or later. If you can’t update yet, turn off both “LazyLoad for CSS background images” and “Self-host Google Fonts” until you can. If either setting was on while the site ran an affected version, ask your host to check for files or accounts an attacker may have added.
What’s happening
A flaw in WP Rocket, a plugin that speeds up WordPress sites, lets someone run code on an affected site without signing in. WP Rocket says versions 3.15 to 3.24.1 are vulnerable when the site is set to delay loading background images or to host Google Fonts locally. Both settings are off by default. WP Rocket released the fix in version 3.24.2 on 19 November. Patchstack first saw an attack attempt on 25 November and blocked tens of thousands of attempts the next day. On 2 December, Wordfence’s advisory showed 23,117 blocked attempts in the preceding 24 hours. The number of sites attackers successfully took over is unknown.
- What
- Flaw
- Affects
- WP Rocket plugin for WordPress
- Affected
- WP Rocket 3.15 through 3.24.1 with LazyLoad for CSS background images or Self-host Google Fonts enabled
- Fixed in
- WP Rocket 3.24.2
- Since
- 25 Nov 2026
Timeline
- Wider attacks
On 2 December, Wordfence’s advisory showed that it had blocked 23,117 attempts to exploit the WP Rocket flaw in the preceding 24 hours. The number of sites attackers successfully took over is unknown.
- Made public
Patchstack published its findings on the attacks and advised owners of previously exposed sites to check for files an attacker may have left behind.
- Wider attacks
Attackers automated their attempts. Patchstack blocked tens of thousands in one day.
- Update
Patchstack recorded its first attempt to exploit the flaw.
- New fixFixed
WP Rocket released 3.24.2, the first version that fixes CVE-2026-125812.
Sources
- WP Rocket security advisory and mitigation steps for CVE-2026-125812WP Rocket · 27 Nov 2026
- Plugin ChangelogWP Rocket · 26 Nov 2026
- Critical WP Rocket RCE (CVE-2026-125812) Under Active AttackPatchstack · 27 Nov 2026
- Hackers Exploit Critical WP Rocket Vulnerability to Compromise WordPress WebsitesGBHackers · 30 Nov 2026
- WP Rocket < 3.24.2 - Unauthenticated Remote Code ExecutionWordfence · 1 Dec 2026

