
If your WordPress site uses WP Rocket, the popular caching plugin, please check it today. Older versions have a critical security flaw, and attackers are using it right now. They’ve already gone from trying it by hand to running it automatically against as many sites as they can find.
The fix has been out since 19 November, so most well-maintained sites are fine. The sites at risk are the ones where nobody has been applying updates, or where the WP Rocket licence quietly ran out a year or two ago. Plenty of small business websites fall into one of those two groups.
What happened with WP Rocket
WP Rocket is a paid plugin that speeds up WordPress through caching, which means it saves ready-made copies of your pages so the server doesn’t have to build each one from scratch for every visitor. It’s good at that, and it’s everywhere: the makers say it runs on more than 5.6 million websites.
The flaw is tracked as CVE-2026-125812. A CVE is the official reference number given to a publicly known security hole. Patchstack rates it 9.8 out of 10, and it allows remote code execution without logging in. In plain English, an attacker can send a request to your site that makes it download their code from elsewhere and save it as a PHP file, then run it. Once they can do that, it’s effectively their website as well as yours.
There is one piece of good news. According to WP Rocket’s own security advisory, it only affects versions 3.15 to 3.24.1, and only when at least one of these two settings is switched on:
- LazyLoad for CSS background images
- Self-host Google Fonts (Patchstack calls this “Host Fonts Locally”)
Both are off by default. However, they’re both perfectly sensible speed features that turn up in a lot of site speed advice, so I wouldn’t assume yours are off just because you never touched them. Your web designer may well have done it for you. Version 3.24.2, released on 19 November 2026, fixes the problem.
How quickly the attacks started
Patchstack, a WordPress security company, has published a timeline. The first exploit attempt it saw arrived on 25 November at 15:27 UTC, done manually with the attacker trying different variations each time they were blocked. By 26 November it had become fully automated, and Patchstack was blocking tens of thousands of attempts that day.
So it took six days to go from the fix being released to attacks starting. That’s a fairly typical pattern. Once a security fix is public, attackers can compare the old and new code, work out what was fixed and go after everyone who hasn’t updated yet. The patch is effectively a map. That’s why I treat “update when you get round to it” as a risk in its own right.
Is my site affected? Three quick checks
Log in to WordPress and answer these three questions:
- Do you use WP Rocket? Look in Plugins. If it isn’t there, this particular flaw doesn’t affect you.
- Which version are you on? The version number is shown under the plugin name. 3.24.2 or later is patched.
- Were either of those two settings on? Go to WP Rocket > Page Optimization > Image & Media (on versions before 3.24 it’s the Media tab) and look.
If you were on an older version and either setting was switched on, don’t stop at updating. You need to check whether someone has already got in, which I cover below.
The expired licence trap
This is the part that worries me most for small businesses. WP Rocket is a premium plugin, so updates only arrive while the licence is active. It’s common for a developer to buy a licence when they build a site, hand the site over, and then the licence lapses without anyone noticing. When that happens there’s no “Update now” link, no reminder email that reaches the right person, and WordPress gives you no warning. The site just sits there running an old version.
WP Rocket’s advice for sites with an expired licence is to switch both of the affected settings off and keep them off. That works, but you lose a bit of the speed benefit you were paying for. My view is that if a premium plugin is doing an important job on your site, its licence is a running business cost, just like your domain name. If you’re not willing to renew it, replace it with something that is maintained.
What to do now
- Update WP Rocket to 3.24.2 or later, then check the version number to make sure it actually went through.
- If you can’t update (for example, the licence has expired), switch off LazyLoad for CSS background images and Self-host Google Fonts, save, then reload the page to confirm both are still off.
- Don’t assume updating cleaned anything up. Both WP Rocket and Patchstack point out that the fix stops new attacks but does nothing about files an attacker has already planted.
- Check for unexpected PHP files if you were exposed. Patchstack has seen attackers drop files with names like wp-media-something.php in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ itself. The uploads folder should hold your images and documents, not PHP code.
- Ask your host to check the server logs for POST requests to admin-ajax.php with the action “rocket_beacon”, and for the site making connections out to unfamiliar addresses.
- Look for admin users you don’t recognise under Users in WordPress.
- Make sure you have a clean backup from before 25 November, stored somewhere other than the server itself. If the worst has happened, that backup is your way back.
If any of that sounds beyond you, it’s fine to hand it to your host or developer. Just don’t leave it.
Why a hacked site hurts your SEO too
This isn’t only about security. Attackers who get into a small business site rarely deface it, because that would give them away. More often they quietly add spam pages or send some of your visitors elsewhere, and keep doing it for as long as they get away with it.
When Google spots that, affected pages can appear with a warning label in search results, or browsers can show a warning page before anyone reaches your site. Google’s “This site may be hacked” message stays until you fix the problem and ask for a review. Google is also clear that you have to fix the whole site first, because fixing some pages won’t get you a partial reprieve, and asking for a review too early can slow things down. Years of SEO work can be undone in an afternoon.
It’s worth opening the Security Issues report in Google Search Console now. If it says no issues were detected, good. If it lists something, that’s your priority this week.
How I handle this for clients
Keeping plugins updated, watching for security news and keeping off-site daily backups is exactly what my WordPress Support & Hosting packages are for. Sites are hosted on servers I manage myself, so when something like this comes along I’m the one checking it, and you can get on with running your business. Packages start at £89+VAT a month, and you can order online. No calls needed, I’ll just get started.
Peter Mahoney
WordPress SEO & AI Search (GEO) Expert