Skip to content
Quantum Secure Labs
Cybersecurity News

Attackers exploit a critical WP Rocket flaw in WordPress: update to 3.24.2

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…

By Quantum Secure Labs4 min read
Pantalla de ordenador con el panel de administración de un sitio web y código en un editor
In this article

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/ and wp-content/.
  • Outbound connections from the server to unknown hosts, nip.io domains or temporary trycloudflare.com tunnels.

What to do today

  1. Ask your agency or web lead whether you use WP Rocket and which version is installed.
  2. If it is older than 3.24.2, update immediately to 3.24.2 or later, as WP Media asks in its advisory (SecurityWeek).
  3. 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.
  4. Ask them to look for wp-media-*.php files in the three folders listed.
  5. Ask them to review logs and the server's outbound connections for nip.io, trycloudflare.com or unknown destinations.
  6. 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.

Sources

Worried about a threat like this one?

We review your exposure and show you how to protect yourself.

See our cybersecurity service

Cybersecurity News

pCloud Pass confirms cyberattack: exposed emails and unknown devices despite 2FA

pCloud Pass, the password manager from Swiss company pCloud, has confirmed a cyberattack. Emails of a small number of users were exposed and unknown devices appeared on accounts, even with 2FA enabled. If your team uses…

Cybersecurity News

NFS2ROOT: a 12-year-old flaw in the Linux NFS server gives remote attackers root without authentication

NFS2ROOT (CVE-2026-99362), a critical flaw in the Linux kernel NFS server, lets a remote attacker with no credentials take control as root. It affects servers and NAS devices running NFS v4.1/4.2 with TCP port 2049 open…

Cybersecurity News

Juniper Session Smart Conductor: critical flaw that grants root access is being exploited

Attackers are exploiting CVE-2026-103406, a critical flaw (CVSS 9.8) in Juniper Session Smart Conductor that lets them run commands as root remotely. It affects anyone using this Session Smart Router management console…

Want to apply these ideas to your business?

Tell us about your case and we'll show you how to apply these strategies to your project.