Since 25 November, automated attacks have targeted a critical flaw (CVSS 9.8) in WP Rocket, the WordPress caching plugin, that allows unauthenticated code execution. It affects versions before 3.24.2. If your website uses it, update today and check whether attackers have left malicious files behind.
The essentials
- The flaw is CVE-2026-125812, scored CVSS 9.8. It affects every WP Rocket version before 3.24.2, released on 19 November 2026.
- WP Rocket runs on more than 5.6 million sites, according to BleepingComputer.
- Patchstack recorded the first exploitation attempt on 25 November at 15:27 UTC, six days after the patch. On 26 November alone it blocked tens of thousands of automated attempts, and more than 25,000 malicious requests from several attackers in total (The Hacker News).
- It is only exploitable if LazyLoad for CSS background images or Host Fonts Locally is enabled. Both are off by default, but Patchstack notes they are common on performance-optimised sites.
- Updating stops new attacks but does not remove anything an attacker has already planted.
Am I affected if my website runs on WordPress?
Only if it uses WP Rocket. If it does, two conditions must meet: a version older than 3.24.2 and at least one of the two vulnerable options switched on. The fact that they ship disabled is little comfort. If an agency tuned your website or online shop for speed, they may well have turned them on.
You don't need to know this yourself. You need someone to confirm it to you in writing today: which version is installed and whether those options are active.
How does the attacker get in?
The plugin doesn't validate URLs properly. An attacker, with no username or password, sends a crafted report that makes your site download content from a server they control. That content is saved as a PHP file and then executed. From there, the attacker has their own code running on your server, with access to whatever the site holds: forms, orders, customer data.
Is updating enough?
No, not if your site ran a vulnerable version with either option enabled since 25 November. The patch closes the door, but it doesn't throw out anyone already inside. The published indicators of compromise are:
- Unexpected PHP files named wp-media-*.php in
wp-content/wp-rocket-config/,wp-content/uploads/andwp-content/. - Outbound connections from the server to unknown hosts, nip.io domains or temporary trycloudflare.com tunnels.
What to do today
- Ask your agency or web lead whether you use WP Rocket and which version is installed.
- If it is older than 3.24.2, update immediately to 3.24.2 or later, as WP Media asks in its advisory (SecurityWeek).
- If you can't update right now, disable both vulnerable options under WP Rocket > Page Optimization > Image & Media > Media. If you manage several sites, the vendor offers a helper plugin to mitigate across many sites at once.
- Ask them to look for wp-media-*.php files in the three folders listed.
- Ask them to review logs and the server's outbound connections for nip.io, trycloudflare.com or unknown destinations.
- If anything turns up, change the WordPress, database and hosting passwords. If the site stores customers' personal data, treat it as a possible breach with notification obligations under the GDPR.
What it means for a small business
The number that matters is six days. Less than a week passed between the patch and the first attack, and by the next day it was automated. If your company updates plugins "when it gets round to it", or when the agency has time, you are late by design.
The problem is rarely technical. It is about ownership. The website was handed to an agency years ago, nobody reviews the plugins, and everyone assumes someone else does. Meanwhile, that site runs on a server holding your customers' data, with your brand on top.
Our view: put the website in your supplier inventory and require, by contract, a deadline for applying critical patches, measured in days, not weeks. Also ask to be told when a flaw like this affects you, even if it's already fixed. If nobody is watching this, you can lean on a cybersecurity service, but the first step is knowing who is accountable today.
Frequently asked questions
If both options are disabled, am I safe?
According to Patchstack, the flaw is only exploitable with one of them enabled. Still, update to 3.24.2: disabling them is a temporary measure.
Does updating remove an earlier attack?
No. Updating prevents new attacks, but files already planted stay there. You have to look for them.
Is it a data breach under the GDPR?
It can be if you find signs of compromise and the site stores customers' personal data. In that case there are notification obligations.