A critical flaw in the WP Rocket caching plugin, CVE-2026-125812 (CVSS 9.8), lets anyone run code on a WordPress site with no login. It affects WP Rocket before 3.24.2 when either "LazyLoad for CSS background images" or "Host Fonts Locally" is on. Attacks started on November 25 and are now automated.
If you use WP Rocket:
- Check the version with
wp plugin get wp-rocket --field=version or under Plugins in the dashboard. Anything below 3.24.2 needs the update now.
- If you cannot update right away, turn off both settings above until you can.
- Updating does not remove files an attacker may already have dropped. Look for PHP files you do not recognize in
wp-content/wp-rocket-config/, wp-content/uploads/ and directly in wp-content/.
If you'd like us to check a site with you, open a ticket and our team will go through it.
Full article, with charts and sources: https://remarkablecloud.com/blog/wp-rocket-cve-2026-125812-exploited/