Wednesday, December 2, 2026
Free Tools & Practical Guides
Smart information for a changing digital world

WP Rocket Vulnerability (CVE-2026-125812) Under Attack: How to Check and Fix Your WordPress Site

Hackers are exploiting a critical WP Rocket flaw that lets them run code on WordPress sites without logging in. Update to 3.24.2 or later and check for planted files.

Muhammad Daniyal
Muhammad Daniyal

If you run a WordPress site with WP Rocket, update it today. Attackers are exploiting a critical flaw in the popular caching plugin, tracked as CVE-2026-125812 (CVSS 9.8), that lets them run their own code on a site without logging in.

The fix is in WP Rocket 3.24.2, released on November 19. Exploitation started six days later and quickly turned into automated campaigns, according to WordPress security firm Patchstack.

What is the WP Rocket vulnerability?

WP Rocket runs a small script in visitors’ browsers that measures each page and reports back to the site so the plugin can optimise it. In affected versions, the plugin did not check those reported URLs strictly enough.

An attacker can send a fake report that makes the site download content from the attacker’s server and save it as a PHP file. That file then runs on the server, which can mean full control of the website.

Only sites with one of these two optimisation features switched on can be attacked:

  • LazyLoad for CSS background images
  • Self-host Google Fonts (Patchstack calls it “Host Fonts Locally”)

Both are off by default, but many site owners enable them to improve speed scores.

Key facts

CVECVE-2026-125812
SeverityCritical (CVSS 9.8)
Login needed?No
AffectedVersions before 3.24.2 with one of the two features above enabled
Fixed in3.24.2 (November 19, 2026); latest is 3.24.3
First attack seenNovember 25, 2026
Sites using WP RocketMore than 5 million

How bad are the attacks?

Patchstack says the first attacker worked by hand on November 25. Within a day, the activity had become automated, with tens of thousands of blocked attempts on November 26 alone. Several independent groups are involved, and they host their payloads on bare IP addresses, temporary Cloudflare tunnels and other WordPress sites that were likely hacked earlier. SecurityWeek also reported the campaign.

What to do now (step by step)

  1. Update WP Rocket to 3.24.2 or later. In your dashboard go to Plugins and click Update under WP Rocket. Check the version number afterwards on the official changelog.
  2. Can’t update? (For example, your licence has expired.) Go to WP Rocket settings and turn off both LazyLoad for CSS background images and Self-host Google Fonts. This closes both attack paths until you can update.
  3. Look for planted files. The update stops new attacks but does not remove anything an attacker already added. Check wp-content/, wp-content/uploads/ and wp-content/wp-rocket-config/ for unfamiliar PHP files, such as files named like wp-media-*.php. Your host’s file manager or an SFTP app works for this.
  4. Check your users. In Users, delete any admin account you don’t recognise.
  5. Change passwords for WordPress admins, hosting and the database if you find anything suspicious, and restore a clean backup from before November 25 if needed.
  6. Ask your host for help. Most hosts can scan for malware and review logs for requests to admin-ajax.php with action=rocket_beacon.

Why this matters even for small blogs

Automated attacks don’t care how big your site is. A hacked blog can be used to host malware, send spam or redirect visitors to scam pages, and Google may flag it as dangerous, which wipes out your traffic and any ad or affiliate income. If you build WordPress sites for clients as a freelancer, check every site you manage today. Our guide to the best freelancing sites for beginners covers how to win that kind of work.

Plugins are not the only weak spot. Make sure your admin email is secure too: here is how to check if your email has been compromised.

FAQ

I use the free version of another caching plugin. Am I affected?

No. This flaw is specific to WP Rocket, which is a paid plugin. Keep every plugin updated anyway.

I updated after November 25. Am I safe?

New attacks are blocked, but if one of the two features was on before you updated, check for planted files and unknown admin users as described above.

Sources: Patchstack, SecurityWeek, WP Rocket changelog.

Muhammad Daniyal

Muhammad Daniyal is the founder and editor of ProInfoDesk. He writes about technology and digital payments in Pakistan, and he reviews every guide before it is published: checking facts against official sources, testing the steps where possible, and updating articles…

← Previous Article MW4 Season 1 Reloaded: New Maps, Modes, DMZ…

Leave a Reply

Your email address will not be published. Required fields are marked *