30 November 2026 · 7 min read
WP Rocket Vulnerability Under Attack: How to Check Your WordPress Site Today
Attackers are targeting a critical flaw in the WP Rocket speed plugin for WordPress. Here is how to check if your site is affected, how to fix it, and what to look for if it was exposed.

Attackers are actively targeting a serious security flaw in WP Rocket, one of the most popular paid speed plugins for WordPress. A fix has been available since 19 November, but plenty of small business sites have not installed it. If your site runs WP Rocket, this WP Rocket vulnerability is worth five minutes of your time today.
The flaw lets someone with no login run their own code on your website. That is about as bad as WordPress security problems get: it can mean spam pages, redirects to scam sites, stolen customer data or a site Google flags as hacked. Here is what happened, how to tell if you are affected, and exactly what to do.
What is the WP Rocket vulnerability?
The flaw is tracked as CVE-2026-125812. Security firm Patchstack, which received the original report, rates it 9.8 out of 10 on the standard CVSS severity scale. In Patchstack’s write-up of the attacks, as summarised by security firm Rescana, it is described as unauthenticated remote code execution. In plain English: an attacker does not need an account on your site to use it.
WP Rocket is widely used. Patchstack’s summary puts it at more than 5.5 million downloads, so even a small share of unpatched sites is a large target.
Every version of WP Rocket before 3.24.2 is affected. There is an important catch that works in your favour, though. According to Patchstack’s data, the attack only works if at least one of these two WP Rocket settings is switched on:
- LazyLoad for CSS background images (delays loading background images until they are needed)
- Host Fonts Locally (serves Google Fonts from your own server instead of Google’s)
Both are off by default. The bad news is that both are exactly the kind of setting a developer or a speed-optimisation guide tells you to turn on, so many sites will have one or both enabled.
How quickly did attacks start?
The timeline is a good example of why “I will update it next month” is no longer a safe plan.

- 4 November 2026: the flaw was reported privately to Patchstack through its bug bounty programme.
- 19 November: WP Rocket 3.24.2 was released with the fix. The WP Rocket changelog describes it only as improved validation of cached CSS, font and preconnect files, so nothing in the update notice told site owners it was urgent.
- 23 to 25 November: Patchstack published its advisory and the official CVE record followed.
- 25 November: Patchstack recorded the first attack attempt, according to Rescana’s summary of its data.
- 26 November: automated attack campaigns were running, with tens of thousands of attempts blocked that day alone. WP Rocket 3.24.3 was also released that day.
Once details of a flaw are public, attackers scan the whole internet for sites still running the old version. They are not choosing targets. A plumber’s website in Woking is as likely to be hit as a large online shop.
Why premium plugins are easy to forget
Free plugins from the WordPress.org directory show an update notice and can update automatically. WP Rocket is a paid plugin, so updates are delivered through your licence. HackerMe’s guide to the attacks points out that WP Rocket’s own documentation says an expired licence loses access to updates.
That catches out a lot of small businesses. The plugin was bought by a previous web designer, the annual licence quietly lapsed, and the site has been sitting on an old version ever since. Everything still looks fine from the front end, so nobody notices.
What you should do today

- Check whether you use WP Rocket. Log in to WordPress and go to Plugins. If WP Rocket is not in the list, this flaw does not affect you.
- Check the version number. It is shown under the plugin name. Anything below 3.24.2 needs updating now.
- Update WP Rocket. If no update is offered, check the licence in your WP Rocket account. Renew or reconnect it, then update. Take a backup first if you can.
- If you cannot update today, switch off the two settings. Patchstack’s interim advice is to turn off both LazyLoad for CSS background images and Host Fonts Locally until you can update. Your site may load slightly slower for a day or two, which is a fair trade.
- Check for signs of a break-in. If your site was on an old version with either setting turned on, the update alone is not enough. Patchstack warns that updating does not remove files an attacker has already planted.
Signs your site may have been compromised
Patchstack’s indicators, as reported by Rescana, include:
- PHP files you do not recognise in
wp-content/wp-rocket-config/,wp-content/uploads/or the mainwp-contentfolder (for example, files named likewp-media-something.php) - Unusual requests in your server logs to
admin-ajax.phpusing an action calledrocket_beacon - Your server making outgoing connections to unfamiliar addresses
If you find any of these, or you are not sure, treat the site as compromised: keep a copy of the logs, remove the planted files, update everything, and change your WordPress admin, database and hosting passwords. This is fiddly work and easy to get half right, so it is worth asking your developer or host to do it properly.
The bigger lesson for small business websites
This story follows a familiar pattern: a fix is released, the details go public, and attacks follow within days. Sites that update automatically and are checked regularly come through untouched. Sites that are left alone become easy targets.
If nobody is responsible for keeping your plugins, licences and backups up to date, that is the real risk to fix. Our hosting and care plans cover exactly this: updates, licence checks, backups and security monitoring, so a story like this one is something you read about rather than something you have to deal with. You can find out more about how we look after sites on our WordPress services page.
Frequently asked questions
Is my site at risk if WP Rocket is installed but I have not changed its settings?
Less so. The flaw can only be used when LazyLoad for CSS background images or Host Fonts Locally is switched on, and both are off by default. You should still update to 3.24.2 or later, because settings get changed over time and you may not know what a previous developer switched on.
Does updating WP Rocket remove any malware already on my site?
No. The update closes the hole so it cannot be used again, but Patchstack warns it does not remove files an attacker has already planted. If your site was on an old version with either setting turned on, check for unexpected PHP files or ask your developer or host to scan the site.
Why has my site not updated WP Rocket automatically?
WP Rocket is a paid plugin, so updates come through your licence rather than the free WordPress.org directory. If the licence has expired or was never connected to the site, updates may not arrive. Renew or reconnect it, then update.
I use a different caching plugin. Do I need to do anything?
Not for this flaw, which only affects WP Rocket. It is still worth checking that every plugin on your site is up to date and still supported, because attackers look for the same kind of gap in all of them.
How do I know if my site has been hacked?
Signs include PHP files you do not recognise in wp-content, wp-content/uploads or the wp-rocket-config folder, new admin users, and pages redirecting to spam. Some hacks leave no visible trace, so if your site was exposed, a proper scan and a review of your server logs is the safe option.
Need a hand?
If you are not sure whether your site uses WP Rocket, cannot get it to update, or think it may have been hacked, get in touch. We will check it and tell you straight what needs doing.



