wordpress

WP Rocket vulnerability: check your version and two settings

The WP Rocket vulnerability affects versions 3.15 to 3.24.1 when either of two settings is on. Check your version, then update to 3.24.2 or later.

On November 27, 2026, Patchstack, a WordPress security company, published an advisory reporting that attackers are exploiting a flaw in WP Rocket, a paid plugin that speeds up WordPress sites. Patchstack rates the WP Rocket vulnerability 9.8 (Critical) and says the first attempt came on November 25, 2026.

Your site is in the affected group if it runs WP Rocket 3.15 through 3.24.1 with either of two settings turned on: "LazyLoad for CSS background images" or "Self-host Google Fonts," which Patchstack also calls "Host Fonts Locally." WP Media, which makes WP Rocket, fixed the flaw in version 3.24.2, released November 19, 2026.

The check takes a few minutes and costs nothing. Read your version, look at both settings, update or switch them off, then look for files an update leaves behind. Dave Jong, Patchstack's Security Research Lead, states the limit in the November 27 advisory: "The update stops new attacks, but it does not remove files an attacker already planted."

Key Takeaways

Check the version first

WP Rocket 3.15 through 3.24.1 is affected when either "LazyLoad for CSS background images" or "Self-host Google Fonts" is on, and 3.24.2, released November 19, 2026, is the fix.

Two settings off is the stopgap

In WP Rocket, Page Optimization, Image & Media, turn off both settings, save, and keep them off until 3.24.2 or later is installed, even when the license has lapsed.

An update does not clean up

Patchstack says the update does not remove files already planted, so look for wp-media-*.php files and administrator accounts nobody on your team created.

The first check needs no purchase

Version, settings and files take a few minutes; paid help fits logs, accounts, several installations, or a site you cannot reach.

Is my site exposed to the WP Rocket vulnerability?

Open Plugins in your WordPress dashboard and find the WP Rocket row. The number beside the name is the first answer.

If it reads 3.24.2 or higher, you already have the fix. If it reads anywhere from 3.15 to 3.24.1, the second question is whether either setting is on. "LazyLoad for CSS background images" loads background pictures only as a visitor scrolls to them. "Self-host Google Fonts" serves font files from your own site instead of from Google.

Patchstack says both settings are off by default, though common on performance-tuned sites. So, a site a past designer tuned for speed is worth checking first.

Your WP Rocket version and what to do
What you seeWhat WP Media and Patchstack sayYour move
3.24.2 or laterThe fixed release, out November 19, 2026Confirm the number on the Plugins screen
3.15 through 3.24.1, either setting onAffectedUpdate today, or turn both settings off
3.15 through 3.24.1, both settings offBoth off is WP Media's stopgapKeep both off and update to 3.24.2 or later
What you see3.24.2 or later
What WP Media and Patchstack sayThe fixed release, out November 19, 2026
Your moveConfirm the number on the Plugins screen
What you see3.15 through 3.24.1, either setting on
What WP Media and Patchstack sayAffected
Your moveUpdate today, or turn both settings off
What you see3.15 through 3.24.1, both settings off
What WP Media and Patchstack sayBoth off is WP Media's stopgap
Your moveKeep both off and update to 3.24.2 or later

Either setting counts, so read both. Then keep going through the plan below.

A bike shop owner in a work apron stands at the back counter at seven in the morning under cool window light, holding a phone at an angle while a half-finished tune-up waits on the stand behind her.
The version number on the Plugins screen is where the check starts.

What do I do first if I can update today?

WP Media released WP Rocket 3.24.2 on November 19, 2026, and the WP Rocket changelog describes it as improved validation of cached CSS, font and preconnect files. Put simply, the plugin now checks more carefully what it is handed before it uses it.

With a valid license, the update is three steps on a screen you already know:

  1. Open Plugins in your WordPress dashboard.
  2. Update WP Rocket from the WP Rocket row.
  3. Read the version again and confirm it says 3.24.2 or later.

That is the whole first check.

Do the same version look at every other plugin while you are there, because an urgent fix can land for any of them. This routine for checking WordPress plugins for urgent security updates covers the rest of the list.

Then keep reading. The update closes the door the attackers were using, and the next sections cover what it leaves untouched.

How do I protect the site if I can't update yet, or my license has lapsed?

Open WP Rocket, then Page Optimization, then Image & Media. On versions before 3.24, the same settings sit on the Media tab. Turn off "LazyLoad for CSS background images" and "Self-host Google Fonts," save, and come back later to confirm both stayed off.

WP Media says: "Turning off both settings mitigates the documented attack paths immediately." Mitigates means it closes the paths WP Media documents; it does not undo anything from the days when the settings were on.

If the license has expired, do exactly this, keep both settings off until 3.24.2 or later is installed, and contact WP Rocket about renewal while the workaround is in place. For manual updates, WP Media's update guide for WP Rocket is the page to follow.

A hand-lettered card taped to a shop's back-office door in late afternoon sun reads "Website login: ask Dana", with a bicycle wheel leaning against the wall beside it.
A note like this one means nobody on the team holds the plugin's license or dashboard.

A past designer often holds the license and the dashboard login. Ask for both to be handed to you by name, since that is the person who can renew or download the update. If a web design company set up the site, the license belongs in your business's name.

Both settings off today does not mean the site is clean. It means the next attempt has less to work with.

How do I tell whether someone already got in?

Patchstack's first logged exploitation attempt came on November 25, 2026, at 15:27 UTC, and its own telemetry counted tens of thousands of blocked attempts on November 26 alone. Whether your site was touched is something only your own files, accounts and logs can answer.

Think of the update as changing the lock on the shop door. It stops the next person from walking in. It cannot tell you whether someone already walked in and left a spare key.

Three places hold the answer:

  • Files: Look in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ itself for PHP files you did not add, especially names such as wp-media-*.php. The uploads folder usually holds pictures and documents, so a PHP file there stands out.
  • Accounts: Open your WordPress users and look for administrators nobody on your team created.
  • Requests: Ask your host to look in its logs for POST requests to /wp-admin/admin-ajax.php with action=rocket_beacon, and for requests from your web server to hosts you do not recognize. Patchstack lists payloads hosted on bare IP addresses, wildcard DNS names such as nip.io, and trycloudflare.com tunnels.

WP Media says that if either setting was on in a vulnerable version, "ask your hosting provider or security team to check for signs of compromise." It adds: "Any files or accounts an attacker already created require separate investigation."

In other words, a Plugins screen showing 3.24.2 tells you the lock is new, not who already has a key.

If you find a file, write down its name and folder and leave it where it is until your host has looked. The first 24 hours after a site is hacked go better with that note in hand.

A shop owner in a canvas jacket stands outside a loading door at midday under overcast sky, phone to her ear, writing a file name and folder in a small notebook.
A file name, a folder and a date give your host something to work from.

Is this the first WP Rocket security fix this year?

No. WP Media's changelog shows earlier fixes, and the dates give this week's news a place to sit.

WP Rocket dates to know
DateWhat happened
August 27, 2026Version 3.23.3.3 fixed configuration-file backups that might be publicly reachable in some server configurations
October 1, 2026Version 3.23.5 hardened validation of the per-user cache key and of image data the plugin collects
November 16, 2026Version 3.24.1, still inside the affected range
November 19, 2026Version 3.24.2 released, the fix
November 25, 2026Patchstack's first logged exploitation attempt, at 15:27 UTC
November 26, 2026Tens of thousands of blocked attempts in one day, in Patchstack's counts
November 27, 2026Patchstack publishes its advisory
DateAugust 27, 2026
What happenedVersion 3.23.3.3 fixed configuration-file backups that might be publicly reachable in some server configurations
DateOctober 1, 2026
What happenedVersion 3.23.5 hardened validation of the per-user cache key and of image data the plugin collects
DateNovember 16, 2026
What happenedVersion 3.24.1, still inside the affected range
DateNovember 19, 2026
What happenedVersion 3.24.2 released, the fix
DateNovember 25, 2026
What happenedPatchstack's first logged exploitation attempt, at 15:27 UTC
DateNovember 26, 2026
What happenedTens of thousands of blocked attempts in one day, in Patchstack's counts
DateNovember 27, 2026
What happenedPatchstack publishes its advisory

A site still on 3.24.1 when the attempts began on November 25 was inside the affected range.

Somebody has to own the Plugins screen.

When does paid help make sense, and when can you do it yourself?

The version-and-settings check needs no purchase. You can do it this afternoon with the dashboard login and a few minutes.

Paid help fits when the check turns up something an update cannot clean. That means suspicious files, administrator accounts nobody recognizes, logs that need to be read and kept, or a site where you cannot reach the dashboard or the hosting account.

Several installations are the other case. For more than one site, WP Media's advisory points to a helper plugin named "wp-rocket-mitigate-cve-2026-125812," deployed with WP-CLI (a command-line tool for managing WordPress) and activated on each subsite of a multisite. That is a job for whoever runs your hosting.

A small shopping street at dusk with warm light in the bike shop window, a customer wheeling a repaired bicycle out of the open door while the owner steadies the front wheel.
The goal is an ordinary evening at an open shop.

Check your WP Rocket plan

Pick an answer to begin.

1. Which WP Rocket versions are in the affected range?

2. Your license has lapsed and you cannot update yet. What does WP Media say to do?

3. After you update to 3.24.2, what is still worth checking?

Frequently Asked Questions About wp rocket vulnerability

Which WP Rocket versions does the vulnerability affect?

WP Media lists versions 3.15 through 3.24.1, when either "LazyLoad for CSS background images" or "Self-host Google Fonts" is turned on. Patchstack also calls the second setting "Host Fonts Locally."

What does WP Rocket 3.24.2 fix, and what is CVE-2026-125812?

WP Rocket 3.24.2, released November 19, 2026, is the fixed release. CVE-2026-125812 is the identifier for this flaw, which Patchstack rates 9.8 (Critical).

What should I do about WP Rocket if my license has expired?

Turn off both settings under WP Rocket, Page Optimization, Image & Media (the Media tab before version 3.24), save, and keep them off until 3.24.2 or later is installed. Contact WP Rocket about renewal while the workaround is in place.

Does updating WP Rocket remove files an attacker already planted?

No. Patchstack says the update does not remove them, and WP Media says files or accounts already created need separate investigation.

*Where do I look for wp-media-.php files?**

Look in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ for PHP files you did not add. If you find one, note the name and folder and ask your host to review it.

What does an attack request look like in my logs?

Patchstack lists POST requests to /wp-admin/admin-ajax.php with action=rocket_beacon. Ask your host to search for those, and for requests from your server to hosts you do not recognize.

The Bottom Line

Read the WP Rocket version, check both settings, and update to 3.24.2 or later. If the update has to wait, or the license has lapsed, turn off both settings and keep them off. Then look in three folders and your list of administrators for anything you did not add. All of that is a few minutes of your own time.

A site that has been checked once has a clear record of its version, its settings and its files, and the next urgent notice becomes a quick look instead of a scramble. The update changes the lock; the checking tells you who already has a key.

If you want help with the part an update cannot do, Web Leveling can read the files, accounts and logs with you, and our website security audit covers a WordPress site and the hosting around it. We work with small and medium businesses across the country and overseas. Tell us which version and settings your site shows, and we will tell you where to start.

Terms

WP Rocket security words in this post

Tap a term to see what it means.

Vulnerability. A flaw in software that an attacker can use to do something the owner did not allow.

Plugin. Software added to a WordPress site to give it a feature, such as faster page loading.

Mitigation. A step that closes the known attack paths without fixing the flaw itself.

PHP file. A file of code that a web server runs, which is why an unfamiliar one in your folders matters.

Administrator account. A WordPress user who can change the site's settings, plugins and other users.

Server log. A record kept by your host of the requests made to your site.

Share this article