Need help? Call us:

+92 320 1516585

WP Rocket Vulnerability: Update and Check Now

The WP Rocket vulnerability, tracked as CVE-2026-125812, lets an attacker with no login run their own code on a WordPress site. Attackers have been exploiting…

WP Rocket vulnerability guide, a glossy blue padlock and red shield protecting a WordPress site

The WP Rocket vulnerability, tracked as CVE-2026-125812, lets an attacker with no login run their own code on a WordPress site. Attackers have been exploiting it since 25 November 2026. The short answer is simple. Update WP Rocket to version 3.24.2 or later today, then check your site for planted files, because the update stops new attacks but does not remove files an attacker may already have left behind. If you cannot update at once, turn off LazyLoad for CSS background images and Self-host Google Fonts, and keep them off until you update.

Key takeaways

  • CVE-2026-125812 is a critical WP Rocket vulnerability, rated 9.8 out of 10, that allows unauthenticated remote code execution on WordPress sites. It affects WP Rocket versions 3.15 through 3.24.1.
  • A site is exposed to the WP Rocket vulnerability only when it runs WP Rocket below 3.24.2 and has LazyLoad for CSS background images or Self-host Google Fonts turned on. Both settings are off by default, but they are common on sites tuned for speed.
  • The fix is WP Rocket 3.24.2, released 19 November 2026. Update from the Plugins screen, confirm the version number, then purge the cache.
  • Patchstack recorded the first exploitation attempt on 25 November 2026 at 15:27 UTC, which is 20:27 Pakistan time. Attacks turned automated the next day, with tens of thousands of blocked attempts on 26 November alone.
  • Updating does not clean a site that was already hit. Attackers plant files named like wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/, so check those folders after you update.
  • If your licence has expired or you run a nulled copy, you cannot update from the dashboard. Turn off both settings now, then get a genuine licence or ask your developer for help.
  • Pakistani site owners should treat this as a same-day job. WP Rocket is the speed plugin most Pakistani agencies recommend, including in our own guides, and Pakistani tech press covered the WP Rocket vulnerability on 1 December 2026.

What is the WP Rocket vulnerability?

The WP Rocket vulnerability is a security flaw in WP Rocket, the premium caching and speed plugin for WordPress from WP Media. It is tracked as CVE-2026-125812 and rated 9.8 out of 10 on the CVSS scale, which is the highest severity band, critical. The WP Rocket vulnerability is a path traversal weakness, listed as CWE-22, that ends in unauthenticated remote code execution. In plain words, a visitor with no account and no login can make a vulnerable site save a file of their choosing and run it as code on the server.

WP Rocket is one of the most widely used WordPress plugins in the world. WP Media says it runs on more than 5.5 million WordPress sites, with over 386,000 customers. That scale is why the WP Rocket vulnerability matters so much. Even a small share of unpatched sites is a large number of sites, and attackers automate their scans, so they do not need to pick targets by hand. They probe every WordPress site they can find and keep the ones that answer.

The facts below come from the primary sources: the Patchstack advisory, WP Rocket’s own security advisory, and the Wordfence vulnerability entry. Where two sources give different figures, this guide says so instead of picking one quietly.

Fact CVE-2026-125812
CVE and score CVE-2026-125812, CVSS 3.1 score 9.8, critical, weakness CWE-22
Type Unauthenticated remote code execution through path traversal
Affected versions WP Rocket 3.15 through 3.24.1, when either of two features is turned on
Fixed in WP Rocket 3.24.2, released 19 November 2026
Reported 4 November 2026, by researcher Vorelito through the Patchstack bug bounty programme
Made public 23 November 2026, when the CVE record and the Patchstack advisory went live
First attack seen 25 November 2026, 15:27 UTC, which is 20:27 Pakistan time
Exploitation status Actively exploited. Automated campaigns began on 26 November 2026
Scale More than 5.5 million sites run WP Rocket, according to WP Media
Conditions Version below 3.24.2, plus LazyLoad for CSS background images or Self-host Google Fonts turned on

Two details in that table deserve attention. First, the vulnerable range starts at version 3.15, not at the beginning. That is because LazyLoad for CSS background images arrived in version 3.15 in 2023, and the flaw lives in the code that handles those background images and self-hosted fonts. Older versions never had the feature, so they never had this path. Second, version 3.24.3, released on 26 November 2026, is a feature and bugfix release, not the security floor. The security floor is 3.24.2. If you update to 3.24.3, you are covered too, because it includes the fix, but do not treat 3.24.2 as optional and 3.24.3 as the only safe version. Anything from 3.24.2 onward closes the hole.

The WP Rocket vulnerability is not theoretical. Patchstack, which disclosed the flaw, recorded the first exploitation attempt two days after its advisory went public, and the activity turned into large-scale automated campaigns within a day. The Hacker News reported on 1 December 2026 that tens of thousands of attempts were blocked on 26 November alone. Wordfence, in its advisory updated the same day, reported blocking 22,369 attacks targeting the WP Rocket vulnerability in the previous 24 hours. That number had grown fast: an earlier 24-hour window reported the same week showed only 135 blocked attacks. The gap between those two counts is the story of the WP Rocket vulnerability.

Am I affected? Check in two minutes

Not every WordPress site is at risk from the WP Rocket vulnerability, and not every WP Rocket site is either. Two things have to be true at the same time. Your site must run WP Rocket below version 3.24.2, and it must have at least one of the two features turned on. If either condition is false, the documented attack paths do not fire. Use the table below to find your situation and your next step. It takes about two minutes in the WordPress dashboard.

First, check your version. In the WordPress dashboard, open Plugins, then Installed Plugins, and find WP Rocket. The version number sits under the plugin name. You can also ask your developer or your hosting support to check it for you. Second, check the two settings. Open WP Rocket, then Page Optimization, then Image and Media. On versions before 3.24, the same settings sit under the Media tab. Look for LazyLoad for CSS background images and Self-host Google Fonts. Note whether each one is on or off, then find your row in the table.

Your setup Risk What to do now
WP Rocket below 3.24.2, with LazyLoad for CSS background images or Self-host Google Fonts on At risk Update to 3.24.2 or later today, then check for planted files. This is the urgent row.
WP Rocket below 3.24.2, with both settings off Not exposed The documented paths are closed, but update anyway. One settings change would reopen them.
WP Rocket 3.24.2 or later, any settings Fixed Confirm the running version, do not assume an update ran. If you ran an older version after 25 November with either setting on, still check for planted files.
WP Rocket below 3.24.2, licence expired or nulled copy At risk You cannot update from the dashboard. Turn off both settings now, then get a genuine licence or ask your developer for help.
No WP Rocket on the site Not affected The WP Rocket vulnerability does not touch your site. Keep your other plugins updated as usual.

The most dangerous row is the first one, and it is also the most common. Both settings are off by default, which sounds reassuring, but Patchstack points out that they are common on sites that have been tuned for speed. That describes a large share of business sites. A developer who wanted a faster site will often have turned on LazyLoad for CSS background images to stop background images blocking the page, and Self-host Google Fonts to serve fonts locally instead of calling Google on every visit. Both are sensible speed choices in normal times. This week, they are the two switches that decide whether the WP Rocket vulnerability can reach your site.

If you manage more than one site, check them all, and do not assume they match. One site may have both settings off while another has them on, because different developers set them up at different times. WP Rocket offers a free mitigation helper plugin for agencies that manage many sites, which turns off both features across them in one pass. It is a workaround, not a fix, and the sites still need the update to 3.24.2 afterwards.

How the WP Rocket vulnerability works, in plain English

WP Rocket runs a small script in your visitors’ browsers that measures each page and reports the results back to your site. The script notes which background images and fonts a page uses, and the plugin then fetches those files and keeps local copies, so the next visitor gets them faster. That is what LazyLoad for CSS background images and Self-host Google Fonts do. They download a file from somewhere else and save it on your server.

The problem is in how the plugin handled the addresses it was given. The measurement reports travel to a public endpoint on the site, at admin-ajax.php with the action rocket_beacon, and anyone on the internet can send a report to it. No login is needed. Before version 3.24.2, WP Rocket did not check those reported addresses strictly enough. An attacker could send a crafted report carrying an address of their own choosing, and the plugin would fetch the attacker’s content and save it as a PHP file inside the site. A PHP file on a WordPress server is code, and the server runs it. That is the whole attack: one request, no login, and the attacker has code running on your site.

The technical root cause, for developers who want it, is a path traversal in the way WP Rocket builds file paths from URLs. The code joined a URL path onto a fixed cache folder with plain string concatenation and no check that the result stayed inside that folder. A path with parent-directory segments could climb out of the cache folder and land wherever the attacker wanted. The same shape of code existed in the fonts handling. Version 3.24.2 replaces that concatenation with normalisation, validation and a containment check, and it rejects file names that do not match the expected CSS or font patterns. The changelog line for 3.24.2 reads simply: improve validation of cached CSS, font and preconnect files. That one line is the fix for a 9.8-rated flaw.

Once an attacker has code running through the WP Rocket vulnerability, the damage depends on what they do next. The usual pattern is a persistent backdoor: a small PHP file hidden in a folder that is rarely inspected, which lets the attacker return whenever they want, even after the plugin is updated. From there they can create admin accounts, redirect visitors, send spam, steal customer data from a WooCommerce store, or use the server to attack other sites. Patchstack notes that attackers host their payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely already compromised. That last detail matters. A hacked site becomes a tool for hacking the next one.

What the attacks look like so far

The timeline below is short, and its shortness is the point. The fix was available for six days before the first attack was seen, and the attacks went automated within a day of starting. Site owners who updated in the week after 19 November were safe before the campaign began. Site owners who waited are now in the campaign’s path. Every date below comes from Patchstack, WP Rocket, Wordfence, or the news coverage that followed them.

Date, November to December 2026 What happened
4 November Researcher Vorelito reports the WP Rocket vulnerability to Patchstack’s bug bounty programme.
19 November WP Rocket 3.24.2 is released with improved validation of cached CSS, font and preconnect files.
23 November The CVE record goes public. Patchstack publishes its advisory and Wordfence publishes its entry.
25 November, 15:27 UTC Patchstack sees the first exploitation attempt, aimed at the rocket_beacon measurement endpoint. That is 20:27 Pakistan time.
26 November Attacks turn automated. Tens of thousands of attempts are blocked in a single day. WP Rocket 3.24.3 ships as a feature and bugfix release.
27 November Patchstack publishes its full article with indicators of compromise, including ten attacker IP addresses.
30 November BleepingComputer reports active exploitation. Pakistani tech site paktechstan.com covers the story.
1 December The Hacker News covers the WP Rocket vulnerability. Wordfence updates its advisory: 22,369 attacks blocked in 24 hours. Pakistani tech site itbrands.pk covers the story.
4 December This guide is published. The campaign is still active.

Patchstack reports that the ten most active source addresses account for roughly half of all blocked attempts, and the busiest single address, 103.235.74.71 on an Indonesian network, was responsible for more than 5,300 blocked requests. The full list of ten addresses is in the FAQ at the end of this guide, for owners who want to check their logs or blocklist them. Treat those addresses as leads, not proof. Attackers rotate addresses, so a clean log does not prove a site was never probed, and a hit from one of those addresses does not by itself prove a site was breached. What proves a breach is a file you cannot explain, or an account you did not create.

One more number is worth knowing. Patchstack says its platform blocked more than 25,000 malicious requests tied to this campaign. That count covers only the sites Patchstack protects, so the true number of attempts across the whole internet is far larger. The campaign is not a single hacker working through a list. It is automated scanning at internet scale, and it will keep running until the pool of unpatched sites dries up.

Step 1: Update WP Rocket to 3.24.2 or later

Updating is the fix for the WP Rocket vulnerability, and it takes about five minutes. Before you touch anything, take a backup of the site and the database. Your host may already take daily backups, but a backup you can point to, made right now, is worth more than a backup you assume exists. If the update goes wrong, or if you find planted files later and need to restore, the backup is what saves you. On shared hosting, the backup tool is usually in cPanel or in the hosting panel under Backups. A plugin such as UpdraftPlus can do it from the dashboard if your host does not offer one.

Then open Plugins, then Installed Plugins, find WP Rocket, and select Update now. Wait for it to finish, then confirm the installed version reads 3.24.2 or later. Do not assume the update ran. A failed update can look finished, and an expired licence can silently block the update from appearing at all. After the version number is confirmed, purge the WP Rocket cache from the admin bar or from the WP Rocket dashboard, so no visitor is served a cached page built by the old version.

Updating WP Rocket to version 3.24.2, a glossy blue laptop with a large red update arrow and tick

Update first, confirm the version number, then purge the cache. The order matters.

If the update does not appear, or if the version number stays below 3.24.2 after you try, the cause is usually the licence. WP Rocket is a premium plugin, and dashboard updates need an active licence. That is where many Pakistani sites get stuck, so here is the honest picture for each situation.

If your licence is active

Update from the Plugins screen as described above. If no update shows, open WP Rocket, then Tools, and check the licence status, or log into your WP Rocket account and confirm the licence covers this domain. A licence bought for one site does not cover a second site. If the licence is fine and the update still does not appear, clear the transients or ask your host to check whether the server can reach WP Rocket’s update server.

If your licence has expired

Renew it. A genuine single-site licence costs $59 a year, which works out to roughly PKR 16,000 to 17,000 depending on the day’s exchange rate and your bank’s charges. That figure is approximate, and it is worth stating plainly, because it is the real cost of closing this hole properly. Renewal from Pakistan sometimes fails on a local debit card, because Pakistani banks often block international payments by default. If your card is declined, try a virtual card, Payoneer, or ask the agency that manages your site to renew it and bill you in rupees. While the renewal is being arranged, do Step 2 below first. Turning off the two settings closes both documented attack paths immediately, and that protection costs nothing.

If you are running a nulled copy

A nulled copy is a pirated version of WP Rocket, passed around on free-download sites. It has no licence, so it cannot update, and it may itself carry extra code you did not ask for. If your site runs one, you have two problems, not one. Turn off both settings now, as in Step 2, then replace the nulled copy with a genuine licence. This is not a lecture. It is practical advice. A nulled caching plugin is the one plugin you most need to trust, because it writes files to your server, and a pirated copy is the one copy you cannot verify. The table below sets out the three situations side by side, because no ranking page does, and it is the question Pakistani site owners actually ask.

Your WP Rocket copy Can you update to 3.24.2? What to do
Genuine, licence active Yes, from the Plugins screen Update today, confirm 3.24.2 or later, purge the cache, then run the file check in Step 3.
Genuine, licence expired No, until you renew Turn off both settings now, then renew. A single-site licence is $59 a year, roughly PKR 16,000 to 17,000, approximate.
Nulled or pirated copy No, and the copy itself is untrusted Turn off both settings now, then replace it with a genuine licence. Check the site for planted files in either case.

If you manage many sites, WP Rocket’s free mitigation helper plugin can turn off both settings across them in one pass, using WP-CLI. It is a stopgap for agencies, not a substitute for the update. Every site still needs 3.24.2 or later in the end. If your sites sit behind a firewall service, Patchstack’s RapidMitigate rule for CVE-2026-125812 blocks the exploitation attempts without touching plugin code, and it was live more than two days before the first attack arrived. That is useful cover, but it is cover, not a cure.

Step 2: If you cannot update today, turn off the two settings

Turning off both settings is the official workaround for the WP Rocket vulnerability, from WP Rocket’s own advisory and from Patchstack. It closes both documented attack paths at once, and it takes about a minute per site. Do this first if your licence has expired, if you are waiting on a renewal, if you cannot reach your developer today, or if you simply want the site safe before you run the update. Keep both settings off until 3.24.2 or later is installed.

Open WP Rocket, then Page Optimization, then Image and Media. On versions before 3.24, open the Media tab instead. Find LazyLoad for CSS background images and turn it off. Find Self-host Google Fonts and turn it off. Save your changes, and confirm that both settings are off before you move on. Turning off only one of them leaves the other path open, and Patchstack notes that attackers use both feature paths, sometimes in a single request, so that whichever feature a site has enabled, one of them fires. Half a workaround is no workaround.

Turning off these settings may change how your site looks and loads. Background images that were lazy loaded will load normally, and fonts that were served locally will be fetched from Google instead. Your pages may get slightly slower for a few days, and that is a fair trade. A slower site is better than a hacked site, and the speed comes back when you update and turn the settings on again. If your site depends heavily on either feature, tell your developer before you change them, so they can check the layout afterwards. Our guide to making a WordPress site lightning fast explains what WP Rocket’s settings do and why they matter for speed, which helps you judge what changes when you turn them off.

Step 3: Check your site for planted files

This is the step most coverage skips, and it is the step that matters most. The WP Rocket vulnerability is dangerous precisely because updating does not undo an attack that already happened. If an attacker reached your site between 25 November and the day you updated, their files are still there, and the backdoor they left is still open. A patched site can still be a compromised site. The check below takes about twenty minutes, and it is the difference between being safe and only feeling safe.

You need access to the site’s files. On shared hosting, that is usually the file manager in cPanel or in the hosting panel, which is how most Pakistani small businesses reach their files. Hostinger’s file manager works the same way. If you have FTP access, use that instead. If you have neither, ask your host or your developer to run the check with you. Do not skip it because the front of the site looks normal. A backdoor is designed to be invisible from the front.

Checking a WordPress site for planted PHP files after the WP Rocket vulnerability

The update closes the door. The file check finds out whether anyone already came through it.

Work through the checklist in order. The first three steps are the file hunt. The rest confirm whether anything else changed. Write down what you find, with dates, because that record is what your developer or your host needs if the site turns out to be compromised.

# Check Why it matters
1 Open wp-content/wp-rocket-config/ and look for PHP files you did not put there, especially files named like wp-media-*.php This is the first folder Patchstack names, and the planted files use the wp-media- prefix
2 Open wp-content/uploads/ and sort by date. Look for PHP files, or files dated 25 November 2026 or later that you cannot explain Uploads should hold media, not code. A PHP file here is a red flag on its own
3 Open wp-content/ itself and wp-content/mu-plugins/, and check for PHP files with odd names or recent dates Attackers plant files anywhere under wp-content, including mu-plugins, which WordPress loads automatically
4 Check wp-content/cache/background-css/ and wp-content/cache/fonts/ for files that are not CSS or font files These are the two cache folders the attack writes through, so they are the first place a payload lands
5 Search the access log for POST requests to admin-ajax.php carrying action=rocket_beacon, from 25 November onward Every attack so far goes through that endpoint, so the log shows whether anyone tried it on your site
6 Compare any rocket_beacon hits against the ten attacker IPs in the FAQ below A match is a strong signal your site was targeted, though attackers rotate addresses
7 Open Users in the WordPress dashboard and look for admin accounts you did not create A new admin account is the most common follow-on step after a successful attack
8 Check for new plugins or themes you did not install, including ones that look inactive Attackers hide backdoors as ordinary-looking plugins
9 Look at the access log and the hosting panel for outbound connections to unfamiliar hosts, nip.io names or trycloudflare.com tunnels Planted code often phones home, and that traffic is the trace it leaves
10 Run a malware scan with Wordfence or Sucuri, free versions included, and read the full result A scanner catches patterns a manual check misses, but it is a second opinion, not a replacement for steps 1 to 4
11 If you find anything you cannot explain, do not just delete the file. Take a copy for evidence, then restore the site from a backup taken before 25 November 2026 Deleting one file rarely removes a backdoor, which often has more than one copy. A clean restore is the reliable fix
12 After a restore, update WP Rocket, then change the admin passwords and the database password An attacker who had code running may have taken credentials too, so the passwords from before the attack cannot be trusted

If the check finds nothing, you are in good shape, but keep the record. Note the date you checked, the WP Rocket version you found, and that the three folders were clean. If something odd appears next week, that note tells you when the site was last known clean. If the check finds something, stop and get help rather than cleaning it yourself, unless you know exactly what you are doing. A wrongly cleaned site can look fixed while the backdoor stays, and the attacker simply returns. Our guide to future-proofing a WordPress site covers the longer-term habits that stop this happening again, including regular backups, a security plugin, and a firewall.

Worked example: a Lahore WooCommerce store

The steps above are easier to follow with a real walkthrough, so here is one. The numbers below are illustrative, made up to show how the fix works on a typical Pakistani setup, not data from a real client site. Take a small WooCommerce fashion store based in Lahore, selling nationwide with cash on delivery. It runs on Hostinger shared hosting, uses WP Rocket 3.24.1, and has LazyLoad for CSS background images turned on, because the owner wanted the product images to load faster. It has an active WP Rocket licence, bought when the site was built.

The owner reads about the WP Rocket vulnerability on the morning of 4 December. She opens the WordPress dashboard, goes to Plugins, and confirms WP Rocket 3.24.1. That puts her in the at-risk row of the decision table, because her version is below 3.24.2 and one of the two settings is on. She takes a backup from the Hostinger panel first, which takes about four minutes. Then she updates WP Rocket from the Plugins screen and confirms version 3.24.2. She purges the cache from the admin bar.

Then comes the file check. She opens the Hostinger file manager and looks in wp-content/wp-rocket-config/, where she finds only the configuration file she expects. She opens wp-content/uploads/ and sorts by date, and the newest files are product photos uploaded on 2 December, which she recognises. She checks wp-content/ and wp-content/mu-plugins/ and finds nothing new. She opens Users in the dashboard and sees only her own admin account and her developer’s account, both familiar. She runs a Wordfence scan, which comes back clean. The whole job, backup included, takes about twenty-five minutes.

Two details in that walkthrough are worth copying. First, she backed up before updating, so if the update had broken the checkout, she could have restored in minutes. Second, she checked the folders after updating, not instead of it. The update closed the hole, and the check confirmed nothing had already come through it. If she had found a file named wp-media-something.php in the config folder, the next step would have been different: restore from the backup taken before 25 November, update again, and change the passwords, as step 11 and step 12 of the checklist describe. The order is the lesson. Update, then check, then act on what the check finds.

What this means for Pakistani site owners

This is a global flaw, but it lands differently in Pakistan, and the differences are practical, not decorative. Pakistani tech press picked the story up fast. Itbrands.pk, a Karachi-based tech publication, and paktechstan.com both covered the WP Rocket vulnerability on 1 December 2026, within a day of The Hacker News. That means Pakistani business owners are reading about it now, in the same week their sites are being scanned. If you run a business site in Lahore, Karachi or Islamabad, your customers and your competitors are seeing the same news you are.

The exposure is wide because WP Rocket is the speed plugin Pakistani agencies reach for first. It appears in our own guides as the recommended caching plugin, and it is the standard choice on the business and WooCommerce sites that agencies build across the country. A typical Pakistani setup is a WordPress site on shared hosting, often Hostinger, with WP Rocket installed by the developer who built the site, and with the two speed settings turned on because the owner asked for a fast site. That is exactly the setup the WP Rocket vulnerability needs. The first attack landed at 20:27 Pakistan time on 25 November, which was a normal working evening for most businesses here. Any site that was exposed that evening has been in the campaign’s path for more than a week.

The licence question matters more here than in markets where every plugin is bought on a card. Expired licences and nulled copies are common on Pakistani sites, because renewals are easy to forget and international card payments often fail on local debit cards. If your licence has expired, the dashboard simply will not show the update, and there is no error message that explains why. That silence is what traps people. If that is your situation, turn off the two settings today, which costs nothing and closes the hole, and then sort out the renewal through a virtual card, Payoneer, or the agency that manages your site. A genuine single-site licence is $59 a year, roughly PKR 16,000 to 17,000, approximate. For a store that takes orders every day, that is a small price against a hacked checkout.

For WooCommerce stores that take cash on delivery, the stakes are higher than a defaced homepage. A backdoor on a store can skim customer names, phone numbers and addresses, or redirect the checkout to a lookalike page. COD customers hand over their details trusting the store, and a breach of that trust costs repeat orders, not just a cleanup bill. If your store ran a vulnerable WP Rocket with either setting on after 25 November, run the file check in Step 3 even if the store looks fine. A store that looks fine is exactly what a backdoor is designed to produce.

One timing note, for owners who follow search news. Google pre-announced its December 2026 core update on 24 November, and it is expected to run for about two weeks once it begins, moving rankings while it rolls out. A site that is hacked during a core update loses twice: the hack itself, and the rankings that slip while the site is compromised. Our guide to Search Console AI clicks explains how to write down a baseline before the update starts, so you can tell afterwards what the update changed and what was already wrong.

Common mistakes with the WP Rocket vulnerability

  • Updating and assuming the site is clean. The update stops new attacks. It does not remove files an attacker already planted. The file check is a separate job, and it is the one people skip.
  • Turning off only one of the two settings. Attackers use both feature paths, sometimes in one request. Leave either one on and the hole stays open.
  • Assuming an expired licence means you are safe. An expired licence only means you cannot update. The vulnerable code is still running, and the workaround is still available: turn off both settings now.
  • Restoring from a backup made after 25 November. A backup from after the attacks began may already contain the planted files. Restore from before 25 November, or have the backup checked first.
  • Checking only the uploads folder. Planted files sit in wp-content/wp-rocket-config/, in wp-content/ itself, and in mu-plugins too. Checking one folder and stopping is not a check.
  • Trusting the front of the site. A backdoor does not change how the homepage looks. The site can look perfect and still be compromised. Only the files and the logs tell the truth.
  • Waiting for the weekend. The campaign is automated and it is running now. A site that waits until Saturday has had several more days of exposure for no reason. The update takes five minutes.
  • Deleting a suspicious file and moving on. One planted file usually has company. Delete it without checking for the others, and the attacker simply returns through the copy you missed.

“Updating closes the door. It does not clean the room. A site that was open between 25 November and the update still needs the file check, even if everything looks normal from the front. The owners who get hurt by the WP Rocket vulnerability are not the ones who never update. They are the ones who update and stop there.”

The bottom line

The WP Rocket vulnerability is a critical, actively exploited flaw, but it is also a fixable one. Update WP Rocket to 3.24.2 or later today, confirm the version number, and purge the cache. If you cannot update, turn off LazyLoad for CSS background images and Self-host Google Fonts, and keep them off until you can. Then spend twenty minutes on the file check, because the update alone does not clean a site that was already hit. Check wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ for files named like wp-media-*.php, look for admin accounts you did not create, and restore from a backup taken before 25 November if you find anything you cannot explain. Do it today, while the fix is simple and the campaign is still running.

If you would rather have the check done for you, our team can update the plugin, run the file check, and clean the site if anything is found. Ask us for a free consultation

Frequently asked questions

Is WP Rocket safe to use now?

Yes, if you run version 3.24.2 or later. The WP Rocket vulnerability is fixed in 3.24.2, released 19 November 2026. Versions below 3.24.2 are at risk when either LazyLoad for CSS background images or Self-host Google Fonts is turned on. Update, confirm the version number, and purge the cache. If you ran an older version after 25 November with either setting on, also check for planted files, because the update does not remove them.

Which WP Rocket versions are affected by CVE-2026-125812?

WP Rocket versions 3.15 through 3.24.1 are affected by the WP Rocket vulnerability, when at least one of the two features is turned on. Patchstack’s advisory puts it more broadly as all versions before 3.24.2. The range starts at 3.15 because that is when LazyLoad for CSS background images arrived. Version 3.24.2 or later is safe from the WP Rocket vulnerability.

How do I update WP Rocket to 3.24.2?

Take a backup first, then open Plugins, then Installed Plugins, find WP Rocket, and select Update now. Confirm the installed version reads 3.24.2 or later, then purge the cache. The update needs an active licence. If no update appears, check the licence, or turn off both settings as a workaround while you renew it.

What should I do if I cannot update WP Rocket right away?

Turn off both settings that open the attack path. Open WP Rocket, then Page Optimization, then Image and Media, and turn off LazyLoad for CSS background images and Self-host Google Fonts. On versions before 3.24, the settings sit under the Media tab. Save your changes and confirm both are off. Keep them off until you install 3.24.2 or later. WP Rocket also offers a free mitigation helper plugin for sites managed in bulk.

How do I know if my site was hacked through WP Rocket?

Check the three folders Patchstack names: wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/, plus wp-content/mu-plugins/, for PHP files you cannot explain, especially files named like wp-media-*.php. Then check the access log for POST requests to admin-ajax.php with action=rocket_beacon from 25 November onward, look for admin accounts you did not create, and run a Wordfence or Sucuri scan. A file you cannot explain is the clearest sign.

Does updating WP Rocket remove the hacker’s files?

No. Updating to 3.24.2 stops new attacks through the WP Rocket vulnerability, but it does not remove files an attacker already planted. If you find a file you cannot explain, restore the site from a backup taken before 25 November 2026, update WP Rocket, and change the admin and database passwords. Deleting one file is not enough, because a backdoor often has more than one copy.

What are the attacker IP addresses for CVE-2026-125812?

Patchstack lists ten addresses behind the blocked attempts: 103.235.74.71, 103.235.74.72, 157.245.122.230, 152.89.170.194, 180.232.236.101, 201.79.120.217, 112.78.154.32, 167.71.75.155, 43.163.8.253 and 51.79.199.209. The busiest, 103.235.74.71, accounted for more than 5,300 blocked requests. Treat them as leads for your log check, not proof, because attackers rotate addresses.

Worried your site was already hit?

Our team updates WP Rocket, checks your site for planted files, and cleans it if anything is found, with daily backups and security hardening so it stays safe afterwards.

Explore Our Web Development Services

Add comment

Your email address will not be published. Required fields are marked

Don’t forget to share it

Table of Contents

want-us-to-create-the-blog-skysol-media-pakistan
Want to build a stunning website?

We’ll Design & Develop a Professional Website Tailored to Your Brand

Enjoy this post? Join our newsletter

Newsletter

Enter your email below to the firsts to know about collections

Related Articles

No posts were found matching your selection.