WP Rocket Flaw Under Attack on 5.6M WordPress Sites

WP Rocket Flaw Under Attack on 5.6M WordPress Sites
WP Rocket Flaw Under Attack on 5.6M WordPress Sites
Affiliate disclosure: This post contains affiliate links. If you buy through them, I may earn a commission at no extra cost to you. Full disclosure

Attackers are actively exploiting a critical flaw in WP Rocket, the paid WordPress caching plugin that runs on more than 5.6 million sites.

If your store, your content site or your brand blog runs on WordPress, this one is on you to fix. Plenty of operators in the Ecommerce Paradise world run Shopify for the store and WordPress for the blog that feeds it, and a caching plugin like WP Rocket is a common install on those blogs, often set up once to pass Core Web Vitals and then forgotten. That split setup is common in high-ticket dropshipping, where content does a lot of the selling. A single unpatched install can let a stranger run code on your server, and that is the server your traffic, your forms and sometimes your checkout sit on.

The fix was released on November 19. The first attacks landed on November 25. Since then, automated campaigns have been hammering the vulnerable endpoint. Below is what was reported, how the timeline played out, what a compromise would cost a store doing real volume, and the exact checklist I would run tonight. I covered a similar fire drill in October when PHP2Shell exploitation was confirmed on store hosts, and the pattern here is almost identical.

Tired of patching plugins on your own server? Run the store on Shopify instead. Shopify hosts and secures the platform itself, so a caching plugin bug on your own box is never your 2am problem. Start your store on Shopify →

WP Rocket CVE-2026-125812: A 9.8 Flaw Hit Six Days After the Patch

The bug is tracked as CVE-2026-125812 and carries a CVSS score of 9.8 out of 10, according to SecurityWeek’s December 1 report by international correspondent Ionut Arghire. Versions 3.15 through 3.24.1 are vulnerable. WP Media, the company behind WP Rocket, shipped the fix in version 3.24.2 on November 19.

The flaw lets an unauthenticated attacker get PHP code onto the site and run it. WP Rocket uses a small browser script that reports page URLs back to the server through an AJAX action called rocket_beacon. Per SecurityWeek, the plugin did not validate those reported URLs strictly enough, so a crafted report can make the site download attacker-controlled content and save it as a PHP file. Once that file sits in the web root, the attacker can execute it.

WP Rocket’s own advisory put it bluntly: “an attacker can execute arbitrary code on the affected website without authentication,” as quoted by WP Farm’s November 30 breakdown. No login is needed. No admin account is needed.

The two settings that decide exposure

There is a precondition. The attack only works when one of two features is switched on: LazyLoad for CSS background images, or the option to self-host Google Fonts (labeled Host Fonts Locally in some versions). Both are off by default, per SecurityWeek. Both are also exactly the settings people flip on when chasing a better PageSpeed score, which is why the exposed pool is not small.

SOCRadar researcher Yağmur Ernalbant added a detail in a December 1 analysis that matters for anyone who thinks they are safe: a site with both features disabled still runs the vulnerable code, and switching either feature on later reopens the hole. Turning the settings off is a mitigation, not a cure.

How fast the attacks scaled

Patchstack, the WordPress security firm that handled the disclosure, recorded the first manual exploitation attempt at 15:27 UTC on November 25, according to Dataconomy’s December 2 report. By the next day the activity was fully automated. Patchstack has blocked more than 25,000 malicious requests from multiple attackers, and it reported “tens of thousands of blocked attempts” on November 26 alone, per SecurityWeek.

The attackers are not one crew. Patchstack described “several independent operators,” with payloads hosted on bare IP addresses, wildcard DNS names under nip.io, temporary trycloudflare.com tunnels and likely compromised WordPress sites. SecurityWeek reported that the ten most active IP addresses accounted for roughly half of all blocked attempts since November 25. SOCRadar notes a public proof-of-concept exploit is available on GitHub, which lowers the bar for every copycat.

The install base matters for scale. WP Media says the plugin runs on more than 5.6 million sites for 394,000 customers, per Dataconomy. SOCRadar and WP Farm cite a slightly lower figure of more than 5.5 million. Either way, this is one of the most widely installed premium plugins in WordPress.

From Bug Bounty to Botnet: The WP Rocket Timeline and the Caveats

The timeline shows how short the safe window has become. Per SOCRadar, a researcher credited as Vorelito reported the flaw through the Patchstack bug bounty program on November 4. WP Rocket 3.24.2 shipped on November 19. Patchstack publicly disclosed the bug on November 23. The CVE was published at 12:09 UTC on November 25, and the first attack hit about three hours later. WP Rocket followed with version 3.24.3 on November 26.

Read that again. The gap between public CVE and first exploit was roughly three hours. The gap between the patch and the first attack was six days. Any site owner who updates monthly, or who lets a premium license lapse, was exposed the whole time.

WP Rocket’s changelog did not help. SOCRadar notes WP Media published no separate advisory at release, and the 3.24.2 changelog line described the fix as “improved validation of cached CSS, font and preconnect files.” Nothing in that sentence tells a busy store owner to drop everything and update.

This is a pattern, not a one-off

WordPress core went through the same cycle in September. A file inclusion flaw tracked as CVE-2026-87902 was patched on September 22, and attackers began hitting sites within hours of the release, according to HotHardware’s report.

In October I wrote about stolen UpdraftCentral keys being used to backdoor WordPress stores. The same month, I flagged the Rank Math PRO downloads that carried a backdoor. Premium plugins are a favorite target because they sit on high-value sites and update through a vendor, not the WordPress.org directory.

WP Rocket itself has a longer list this year. Patchstack’s WP Rocket vulnerability database lists earlier 2026 issues, including a cross-site scripting bug fixed in 3.24.1 and a broken access control bug fixed in 3.23.5 that Patchstack rated medium priority. This one is rated critical.

The counterpoints worth knowing

Nobody has published a count of sites actually compromised. SOCRadar is explicit that blocked-attempt totals do not show how many attempts succeeded on unprotected sites. The volume numbers also differ by source: Wordfence reported nearly 400 attacks blocked in a 24-hour window, per SOCRadar, while Patchstack’s numbers run into the tens of thousands. Different customer bases see different slices of the traffic.

Patchstack also had a mitigation rule live more than two days before the first attack, according to WP Farm, so sites on its firewall were covered early. And the default configuration is not exposed. If you never touched the two features, your risk is lower. Lower is not zero, because of the dormant-code issue SOCRadar flagged.

What a WP Rocket Hack Costs a High-Ticket WordPress Store

My read is that this is a bigger deal for high-ticket operators than the install count suggests. A low-ticket store that gets popped loses a few days of $40 orders. A high-ticket store that gets popped can lose a $6,000 sale, a supplier relationship and a merchant account in the same week.

Remote code execution is the worst category because the attacker gets the same powers your server has. That means injecting a card skimmer into checkout, swapping your phone number on product pages, redirecting Google Shopping traffic to a scam store, creating hidden admin accounts or quietly stealing your customer list. We saw the skimmer version recently when hackers skimmed Convertr checkouts through an analytics script. The legal fallout can land on you too, as the Optimizely skimmer lawsuit that also targets the site owner showed.

Hypothetical math for a December compromise

Here is a hypothetical, not reported data. Take a WooCommerce store selling outdoor furniture at a $3,000 average order value, closing 20 orders a week in December. A skimmer that runs for one week before you catch it touches 20 checkouts, $60,000 in order value. If even a quarter of those buyers dispute charges after fraud alerts, that is five chargebacks on $15,000, plus fees, plus a processor asking hard questions. I broke down why that spiral is so dangerous in my guide to chargeback prevention for high-ticket stores.

Now the cheaper scenario. The attacker only plants a spam redirect. Google flags the domain, your Shopping ads get disapproved for malicious software, and you spend three to five days in cleanup and review. At 20 orders a week that is roughly 10 to 14 lost orders, or $30,000 to $42,000 in December revenue at that hypothetical AOV. If you run your ads the way I teach in turning Google Shopping clicks into high-ticket sales, losing the feed in peak season hurts more than the cleanup bill.

Who should worry, ranked

Highest risk: WooCommerce stores running WP Rocket with either feature on, on a version below 3.24.2, especially with an expired license. SOCRadar notes that WP Rocket is a premium plugin, so an expired license or a manual-update policy can leave sites stuck on old releases. If that describes you, assume compromise until you check. My WooCommerce dropshipping setup guide covers the plugin stack these stores tend to run.

Middle risk: Shopify store owners with a WordPress blog or landing pages on a subdomain. The store is safe, but the blog shares your brand, your email domain reputation and often your tracking pixels. A hacked blog on blog.yourstore.com still gets your brand flagged. While you are at it, keep the domain itself at a registrar like Namecheap with two-factor login turned on.

Low risk: pure Shopify stores. Shopify does not run WordPress plugins. This is one of the quiet reasons I push most new operators to Shopify, and I compare the trade-offs in my breakdown of the best ecommerce platforms for SEO. If you are still choosing a category, my high-ticket niches list is the place to start.

Agencies and freelancers managing many client sites carry the most operational risk. SOCRadar specifically warns that staging copies and forgotten microsites need the update too, and that agencies should not rely on auto-updates alone. This is the stuff that slips through when one person is juggling suppliers, ads, customer service and server maintenance. If you would rather have a team build the store on a stack that does not need this kind of babysitting, that is exactly what my turnkey done-for-you store builds are for.

Want a team watching the store while you get back to selling? See the scaling service →

Your WP Rocket Checklist Before the Next Wave of Attacks

What I’d do tonight, in this order. Each step takes minutes, and the last one is the one most people skip.

  1. Check the version on every WordPress site you own. Go to Plugins in the dashboard and confirm WP Rocket shows 3.24.2 or later (3.24.3 is the latest per SOCRadar). Include staging sites, old landing pages and the blog you set up in 2021 and forgot about.
  2. Update, or kill the two features right now. If you cannot update because the license expired, open WP Rocket, go to Page Optimization, then Image and Media (the Media tab on versions before 3.24), and disable LazyLoad for CSS background images and the Google Fonts self-hosting option, per WP Farm. Save, and keep them off until you update.
  3. Hunt for planted files. Per Dataconomy and SOCRadar, look for unexpected files matching wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ and the wp-content/ root. Your host’s file manager or SFTP works. Updating does not delete a file an attacker already planted.
  4. Read your logs from November 25 forward. Ask your host for access logs and search for POST requests with action=rocket_beacon, plus outbound connections to nip.io or trycloudflare.com addresses. If your current host makes logs hard to get, take that as a sign to look at a managed platform like Cloudways.
  5. If you find anything, treat the whole site as compromised. SOCRadar’s advice: rotate WordPress admin, database and hosting passwords, check for new admin users and look for more backdoors before you restore. Do this from a trusted connection, not hotel Wi-Fi without a VPN like Surfshark. My password manager comparison for store owners helps with the rotation part.
  6. Decide if WordPress should run your checkout at all. If this is your third plugin scare this quarter, book a call through my discovery call page and we can talk through moving the store to Shopify while keeping WordPress for content.

One more habit worth building: subscribe to a vulnerability feed for the plugins you actually run. The six-day gap between patch and attack is the new normal, and it keeps shrinking.

Frequently Asked Questions

Is my Shopify store affected by the WP Rocket flaw?
No. WP Rocket is a WordPress plugin and Shopify does not run WordPress plugins. A WordPress blog or landing page tied to your Shopify brand can still be affected, so check those separately.

What version of WP Rocket fixes CVE-2026-125812?
Version 3.24.2, released November 19, 2026, fixes the flaw. Version 3.24.3 followed on November 26, per SOCRadar, so update to the latest release you can get.

My WP Rocket license expired. Am I stuck?
You can disable LazyLoad for CSS background images and the Google Fonts self-hosting option, which the vendor says “mitigates the documented attack paths immediately.” Renew when you can, because the vulnerable code stays on disk until you update.

Does updating clean up a hacked site?
No. The update blocks the known attack path but does not remove files or accounts an attacker already created, per SecurityWeek. You still need to check for wp-media-*.php files and unfamiliar admin users.

Should a new high-ticket store use WordPress or Shopify?
For most new operators I recommend Shopify for the store, with WordPress optional for content. If you are still picking what to sell, start with my free high-ticket niches list.

Does my host protect me automatically?
Some hosts run firewalls that block known exploit patterns, and Patchstack had a rule live before the first attack. Do not assume your plan includes that. Ask your host directly, and if the answer is vague, it may be time to compare options like Liquid Web for managed WordPress.

Want me to look at your stack and tell you what to fix first? Get the coaching details →

Security news is boring right up until it costs you a week of December sales. Update the plugin, check for planted files and move on with your day. If you run WordPress and Shopify side by side, put a calendar reminder on the first of every month to check plugin versions. Subscribe to the YouTube channel for daily breakdowns. More breaking news coming through the day.

Related Articles

If this was useful, these go deeper: