Skip to content
Rush Commerce
Commerce & Retail Tech3 min read

WP Rocket CVE-2026-125812 exploited: update to 3.24.2 now

WP Rocket CVE-2026-125812 lets anonymous attackers plant PHP on WordPress sites. It is under active attack. Update to 3.24.2, then check for planted files.

WP Rocket CVE-2026-125812 is under active attack, on Cyber Monday, on one of the most common WordPress plugins there is. The caching plugin runs on more than 5.6 million sites, per WP Media. The flaw lets an attacker with no account make your site download remote code and save it as a PHP file. Then they run it. Patchstack rates it 9.8 and saw the first attacks on November 25. BleepingComputer reported the campaign this morning. If your store runs WP Rocket, check it before lunch.

What actually happened

  • The flaw. WP Rocket has a public measurement endpoint (admin-ajax.php with action=rocket_beacon). It does not check the URLs it receives closely enough. A crafted request makes the site fetch remote content and write it to disk as PHP. Patchstack says no login is needed.
  • Who is exposed. WP Rocket's advisory lists versions 3.15 through 3.24.1. You are exposed only if LazyLoad for CSS background images or Self-host Google Fonts is on. Both are off by default. Plenty of performance-tuned stores turn them on.
  • The fix. Version 3.24.2 shipped on November 19.
  • The attacks. Patchstack logged the first manual attempts at 15:27 UTC on November 25. Fully automated attacks followed the next day, with tens of thousands of blocked attempts on November 26 alone. Payloads are hosted on bare IP addresses, nip.io names, temporary trycloudflare.com tunnels and other hacked WordPress sites.

Why it matters for your business

A patch from November 19 does not protect a site that updates on the first of the month. Attackers had a working exploit six days after the fix. That is now normal. Last week it was Drupal, and earlier this month it was WordPress core.

WP Rocket is a paid plugin. If your license expired, the dashboard may not offer the update at all. That is the trap: sites that "never had a problem" are the ones still on 3.23.

Today's checklist:

  • Update to 3.24.2 or later. Plugins → WP Rocket → Update now. Confirm the version number afterward.
  • Can't update? Go to WP Rocket → Page Optimization → Image & Media and turn off both settings. WP Media also ships a helper plugin (wp-rocket-mitigate-cve-2026-125812) for agencies with many sites.
  • Hunt for planted files. Updating does not remove them. Look for unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ and the root of wp-content/. Patchstack gives wp-media-*.php as an example name.
  • Read your logs. Look for rocket_beacon requests carrying full URLs, and outbound connections from your web server to nip.io or trycloudflare.com.

Key takeaways

  • CVE-2026-125812 lets anonymous attackers plant and run PHP through WP Rocket
  • Exposed: versions 3.15 to 3.24.1 with CSS background LazyLoad or self-hosted Google Fonts turned on
  • Exploited since November 25; automated attacks since November 26
  • Fixed in 3.24.2; if you can't update, turn both settings off
  • Updating does not remove files already planted, so check wp-content and your logs

No one watching your WordPress store this week? We patch, clean and monitor small-business commerce sites, and we set up update pipelines so a six-day exploit window doesn't catch you. Get a same-day patch and file check or see our services.

Sources: WP Rocket security advisory, Patchstack, BleepingComputer.

  • #wordpress
  • #wp-rocket
  • #cve-2026-125812
  • #patch-management
  • #ecommerce-security
TR

Tommy Rush — Founder, Rush Commerce

Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More

Get The Rush Report weekly — one email, zero fluff.