Skip to main content
web60

Web60 Features

WP Rocket Vulnerability: What It Exposed About Your Caching Plugin

Ian O'Reilly··16 min read
Flat illustration of a small abstract paper rocket with a hairline crack resting beside a solid stacked teal foundation block on a warm grey background

You have probably heard that a caching plugin is the single best thing you can install on a WordPress website. Everyone says it. Web designers install one by default, forum threads recommend one in the first reply, and the most popular paid option, WP Rocket, runs on somewhere between 5.5 and 5.6 million sites depending on whose count you read [1][3].

On 19 November, WP Rocket released version 3.24.2 to fix a flaw rated 9.8 out of 10 for severity [2]. Six days later, attackers were using it. Within roughly a day of that first attempt, Patchstack was blocking tens of thousands of automated requests against it [1].

I read through Patchstack's write-up during our morning operations review this week. What stood out was not the score. It was where the hole was: inside two features that exist purely to make websites faster. The advice most business owners have been given about caching plugins rests on four assumptions, and this flaw tested every one of them.

What Actually Happened

Short version first. A stranger, with no password and no login, could make an affected website download a file of the attacker's choosing, save it as a PHP program inside the site, and then run it [1]. PHP is the language WordPress itself is written in, so a planted PHP file can do more or less anything your website can do. Send spam. Redirect your visitors. Create a hidden admin account for later.

Two conditions had to be true together. The site had to be running WP Rocket 3.15 through 3.24.1, and at least one of two settings had to be switched on: LazyLoad for CSS background images, or Self-host Google Fonts [2]. Neither is on by default. Patchstack describes both as common on performance-tuned sites [1].

Put plainly, the sites most exposed were the ones where somebody had gone the extra mile on speed.

Myth One: A Caching Plugin Is a Free Speed Upgrade

Every plugin is code running on your website. Code that runs can fail, conflict with other code, and be attacked. Caching plugins are no exception, and they make an attractive target because they sit on enormous numbers of sites and handle requests from anonymous visitors.

Scale is the point. WordPress runs close to four in ten of all websites, according to W3Techs [6], so a single popular plugin flaw becomes millions of identical doors to try. Patchstack's annual security report found roughly nine in ten of the 11,000-plus new WordPress vulnerabilities logged in 2025 were in plugins, while WordPress core accounted for a handful of low-priority issues [4]. Two entries on its list of the ten most-attacked vulnerabilities belonged to a different caching plugin entirely, and both dated from 2024 [4]. Old holes stay open on sites nobody revisits.

None of this means speed is optional. Our WordPress performance guide for business owners covers why load time decides whether a visitor stays or goes. It means every speed feature you switch on extends your website's front door a little. Usually that trade is worth making. It is still a trade, and nobody mentions it when the plugin goes in.

How this plays out on an ordinary business site

Consider a composite scenario, built from a common pattern rather than any one customer. A garden centre in Sligo opens Christmas tree pre-orders on its website in the last week of November. The site was built a couple of years ago by a designer who installed WP Rocket and, being thorough, switched on font self-hosting to shave time off the home page. Nobody at the garden centre knows that setting exists, and the licence renewal email goes to the designer's inbox.

The pre-order page goes out on Facebook and traffic climbs. Somewhere in the same week an automated scanner finds the site, writes a file into it, and moves on. Nothing looks different. The first sign might be a customer saying their browser warned them away from the page, or a spam complaint about mail sent from the site, arriving in the busiest trading week of the year. By the time anyone noticed, the file would have been sitting there for days.

Myth Two: Paying for a Premium Plugin Makes It Safer

Paid plugins carry a reputation as the careful option. You paid, so someone must be minding it. The data does not support that comfort. Patchstack counted premium components at a little under a third of all vulnerability reports in 2025, judged roughly three in four of those premium flaws to be exploitable, and found premium components had around three times more known exploited vulnerabilities than free ones [4].

A caveat belongs here. Patchstack sells security tooling, so it has a commercial interest in the numbers looking serious, and it counts reports rather than installs. The direction of travel is still hard to argue with.

The licence trap

There is a second, premium-specific problem: the licence itself. WP Rocket's advisory splits owners into two groups [2]. Those with an active licence are told to update. Owners whose licence has expired are pointed to a workaround and a renewal contact instead. SecurityWeek's coverage gives the same workaround specifically for sites with expired licences [3].

Plenty of business websites sit in that second group without knowing it. This is a familiar pattern with sites handed over by an agency or freelancer. The licence was bought on the designer's account, or a year was included at launch and the renewal lapsed quietly. The plugin keeps working, so nobody notices it has stopped receiving fixes.

From the owner's side, that looks like this: a security fix exists, it has been public for over two weeks, and your website cannot receive it through the normal update route.

Myth Three: Once You Update, You Are Safe

Updating to 3.24.2 closes the door. It does not search the house. All three advisories are explicit that the update does not remove files or accounts an attacker already created [1][2][3]. WP Rocket's own wording is that those need "separate investigation" [2].

Timing makes this worse. Patchstack puts the median time to mass exploitation for heavily exploited WordPress flaws at around five hours, measured across 2025, and found that close to half of disclosed vulnerabilities had no developer fix at the moment they went public [4]. By that standard, WP Rocket's six-day gap was generous. For any site that ran an exposed version with one of those settings on after 25 November, the sensible working assumption is that it may have been visited, until someone verifies otherwise.

This is where operational discipline matters more than any plugin. Patched and clean are two separate states. They need two separate checks.

The backup catch

Nightly backups are the obvious safety net, and they are a good one. This kind of incident has a catch, though. A planted file is quiet. If it arrived on 26 November and nobody noticed, every nightly backup taken since then contains it too, so restoring last night's copy restores the attacker's file along with your content.

A rollback is only as good as the restore point you choose. Done properly, that means picking a backup from before the exposure, then re-applying any genuine changes made since. Slower than a one-click restore of last night. Also the only version of a restore that actually ends the incident.

Flat illustration of a teal door closing on a warm grey room where a small dark navy object already sits inside
An update closes the door. It does not remove what already came in.

Myth Four: WordPress Needs a Plugin to Be Fast

WordPress does need caching to be fast. The official WordPress documentation is blunt that caching gives "the biggest benefit for the smallest hassle", and that without a caching solution performance will slow to a halt as page requests pile up [5]. Where the myth goes wrong is in assuming the cache has to live inside a plugin.

Caching can happen inside WordPress or in the server underneath it. The same documentation describes plugins working alongside a system-level page cache, and notes that persistent object caching needs your hosting provider to run a cache server in the first place [5]. Our explainer on the three caching layers that separate fast sites from slow ones walks through each layer in detail. For this article, one distinction matters: which speed jobs need a plugin, and which do not.

Speed jobWhat it does for a visitorWhere it can run
Page cachingHands over a ready-made copy of the page instead of building it from scratchA plugin, or the web server itself
Object cachingKeeps frequently used database answers in memoryA cache server your host provides, such as Redis, plus a small connector
Front-end tweaksLazy loading, locally hosted fonts, trimmed CSS and JavaScript filesUsually a plugin or your theme

Page caching

When a visitor opens your services page, WordPress normally assembles it from scratch. It queries the database, runs the theme, runs every active plugin, and builds the page. A page cache keeps the finished result and hands that to the next visitor instead. For a customer on a phone with two bars of signal, that is the gap between a page that appears almost at once and one that sends them back to Google to pick the next result.

A plugin can do this from inside WordPress. The web server can do it before WordPress is involved at all. Both are fast for the visitor. The difference shows up in maintenance: a server-level cache is configured and patched by whoever runs the server, as part of the server. A plugin cache is one more piece of software that you are responsible for updating, licensing and configuring, with its own settings screen full of options that someone has to understand.

Object caching

Object caching stores the answers to questions WordPress asks the database over and over (your menu, your site settings, your product list) in memory. The WordPress documentation notes that this saves trips to the database and stops it being overwhelmed during traffic spikes [5].

In practice: when your newsletter goes out and a few hundred people click at once, the site keeps answering instead of stalling on the database. A plugin cannot provide this on its own. The plugin is only a connector; the cache server underneath has to come from your host.

The Standard Worth Holding Your Host To

Strip away the marketing and a sensible caching setup for a business website has a few clear properties:

  • Page caching at the server. Managed and patched by the people who run the server, not left to a plugin licence.
  • A persistent object cache provided by the host. Available from day one, not a project you have to commission.
  • Fewer moving parts inside WordPress. Every plugin you do not need is one fewer thing to license, update and audit.
  • A recovery path that goes back far enough. Backups you can restore from a chosen point, and a person to call when you need to.

Web60 was built around that model. Page caching runs in Nginx using FastCGI caching, and Redis object caching runs at server level, both part of the server-level caching built into Web60's Irish hosting stack. For a business owner, that means the site is fast without a caching plugin to license, configure or keep patched, and there is no speed plugin licence quietly expiring in a former designer's inbox. Underneath that sit automatic nightly backups with one-click restore, safety snapshots taken automatically before updates, automatic malware scanning, and an Irish-based support team you can talk to when you need to choose a restore point carefully.

To be fair to the other side, one case genuinely favours a different setup. If most of your customers are in North America or Australia, a premium managed WordPress host with a global edge network will put cached copies of your pages physically closer to them than any single Irish data centre can. That extra reach is real for that kind of business. For a firm whose customers are mostly on this island, it is distance you do not need to cover.

Flat illustration of stacked teal layers supporting a simple page shape on a warm grey background with navy outlines
Speed that lives in the platform does not need its own licence.

What Server Caching Will Not Do

Being straight about the limits matters here. Server-level caching makes the page arrive faster. It does not change what is in the page. If your home page loads an uncompressed photo straight off a phone, five web fonts and a slider, a server cache delivers all of that faster, but it is still all of that.

Front-end tweaks are a separate job: lazy loading images further down the page, hosting fonts locally, trimming unused CSS and JavaScript. That is exactly the job WP Rocket's two vulnerable features were doing. Server caching does not replace them, and pretending otherwise would be overselling.

Pages that change for each visitor also skip the page cache: the basket, the checkout, anyone logged in. That is deliberate, because nobody wants to see a stranger's basket. It also means a slow checkout is rarely fixed by caching alone.

So keep front-end optimisation if it earns its place. A busy online shop with heavy product pages may well benefit from a well-maintained front-end plugin, under three conditions. Someone owns the licence. Updates go on within days rather than months. Every setting switched on is one somebody can actually explain. If the answer to any of those is nobody, the speed gain is costing more than it appears.

Checking a WP Rocket Site in Five Steps

If WP Rocket is installed on your website today, work through these in order.

  1. Verify the version. In your WordPress dashboard, open Plugins and confirm WP Rocket reads 3.24.2 or later; if no update is offered and you are below that, find out whether the licence is still active.
  2. Verify the two settings. Under WP Rocket, Page Optimization, Image and Media (called Media before version 3.24), see whether LazyLoad for CSS background images or Self-host Google Fonts is switched on; if either was on while you ran an older version, treat the site as possibly exposed [2].
  3. Investigate before you relax. Ask your hosting provider or whoever manages the site to look for unfamiliar PHP files in the folders Patchstack lists in its detection guidance, and for admin accounts nobody recognises [1].
  4. Rollback to a clean point. If something turns up, restore from a backup taken before 25 November rather than last night's copy, then re-apply the genuine changes made since.
  5. Decide whether the plugin still earns its place. If your host already provides server-level page and object caching, a second caching layer inside WordPress may be adding risk and licence costs for very little extra speed.

Where This Leaves You

WP Rocket's developers did what you would hope a vendor would do. They fixed the flaw, published clear advice, and shipped a mitigation for people who could not update straight away. The trouble sits around the plugin rather than in it: licences that lapsed, settings switched on years ago by someone who has since moved on, and owners who heard "update" and stopped there.

None of the four myths is foolish. Caching does matter, premium software is often well made, updating is the right first move, and speed does need deliberate work. Each one simply stops a step short. Speed belongs in your hosting platform, and the plugins you add on top should be ones you can name, license and maintain.

Building on a platform where caching is part of the server takes about a minute: describe your business to the AI builder and Web60 creates a full WordPress site you own and control from day one. Whatever you run today, the useful move this week is smaller. Open your Plugins page, find out what is speeding up your site, and confirm that someone is genuinely looking after it.

Frequently Asked Questions

Is my website affected by the WP Rocket vulnerability?

Only if two things were true at the same time: your site ran WP Rocket version 3.15 to 3.24.1, and at least one of two settings was switched on, LazyLoad for CSS background images or Self-host Google Fonts. Both settings are off by default. Check your version on the Plugins page and the two settings under WP Rocket, Page Optimization, Image and Media. If you were exposed, update and then have the site checked for files or accounts an attacker may have left behind.

What should I do if my WP Rocket licence has expired?

WP Rocket's advisory tells owners with expired licences to switch off both affected settings, save, and confirm they are off, and it offers a small helper plugin as a mitigation. That buys time, but a plugin that cannot receive security updates is a standing risk. Either renew the licence so updates flow again, or decide whether you need the plugin at all, especially if your host already caches at server level.

Does updating WP Rocket remove malware from my site?

No. The 3.24.2 update stops new attacks through this flaw, but WP Rocket, Patchstack and SecurityWeek all state that it does not remove files or accounts an attacker already created. Those need a separate investigation, ideally by your hosting provider or a security specialist, before you treat the site as clean.

Do I need a caching plugin on managed WordPress hosting?

It depends on what your host provides. If page caching runs at the web server and a persistent object cache such as Redis is available, a caching plugin mostly duplicates work that is already done, while adding another piece of software to license and update. On cheap shared hosting without server-level caching, a well-maintained caching plugin is still the sensible option. Ask your host exactly which caching layers it runs before deciding.

Will removing a caching plugin slow my website down?

On hosting without server-level caching, almost certainly. With server-level page and object caching, pages should still arrive quickly, though you may lose front-end tweaks such as lazy loading or locally hosted fonts. Measure the home page and your busiest pages with Google PageSpeed Insights before and after, and make the change on a staging copy first so you can compare without affecting customers.

Sources

IO
Ian O'ReillyOperations Director, Web60

Ian oversees Web60's hosting infrastructure and operations. Responsible for the uptime, security, and performance of every site on the platform, he writes about the operational reality of keeping Irish business websites fast, secure, and online around the clock.

More by Ian O'Reilly →

Ready to get your business online?

Describe your business. AI builds your website in 60 seconds.

Build My Website Free →
Buy NowTry Free
WP Rocket Vulnerability and Your Caching Plugin | Web60