In short. The WordPress performance plugin WP Rocket has a critical flaw, CVE-2026-125812 (CVSS 9.8), that lets an attacker write and run PHP code on a site without logging in. Patchstack, a WordPress security company, reports the first exploitation attempt on 25 November 2026, turning into automated campaigns the next day.
WP Rocket fixed the issue in 3.24.2 on 19 November and released 3.24.3 on 26 November. Sites on older versions should update now and check whether files were already planted.
Which sites are at risk

All WP Rocket versions before 3.24.2 are affected, but a site is exploitable only when one of these settings is on:
- LazyLoad for CSS background images
- Host Fonts Locally
Both are off by default but common on performance-tuned sites. If you are not sure, assume you are at risk and update.
What happened
According to Patchstack, the plugin does not validate cached CSS, font and related files strictly enough. An attacker can send requests to admin-ajax.php that write a PHP file to the site and execute it, which amounts to a full site takeover.
Patchstack saw the first attempt on 25 November 2026 and blocked tens of thousands of attempts on 26 November alone, from several independent operators. At the time of writing the flaw is not in CISA's Known Exploited Vulnerabilities catalog, and the WP Rocket 3.24.2 changelog mentions only improved file validation without naming the CVE.
What to do today

- Update WP Rocket to 3.24.2 or later. The latest release is 3.24.3.
- If you cannot update yet, turn off LazyLoad for CSS background images and Host Fonts Locally.
- Look for PHP files that should not be there, especially in
wp-content/wp-rocket-config/andwp-content/uploads/, such aswp-media-*.php. Updating does not remove files an attacker already planted. - Review web server logs back to 25 November for many
POST /wp-admin/admin-ajax.phprequests withaction=rocket_beacon, and for outbound connections to unfamiliar hosts. - If you find signs of compromise, change admin and database passwords and restore the site from a backup taken before the breach.
J.A.I Solution can review your WordPress site, update plugins, look for planted files and set up backups you can actually restore. Contact us through our website.
References
- Patchstack, Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack (27 November 2026)
- Rescana, WP Rocket CVE-2026-125812 Unauthenticated RCE Under Active Attack (27 November 2026)
- CVE Record CVE-2026-125812
- WP Rocket changelog, versions 3.24.2 and 3.24.3