Skip to content

Call now (337) 362-3362Monday to Friday, 9 to 5 Central

WP Rocket Plugin Flaw Is Under Attack: Update to 3.24.2 Now

A critical flaw in the WP Rocket WordPress plugin lets attackers run code on a site without logging in, and attacks are underway. Update to version 3.24.2 or newer.

By Steven SabatierTakes effect November 25, 2026

What Happened

Security company Patchstack reports a critical flaw in WP Rocket, a popular WordPress speed plugin. It lets an attacker take control of a website without a password. Attacks are already happening, and the fix is WP Rocket version 3.24.2.

The flaw is tracked as CVE-2026-125812 and rated 9.8 out of 10 for severity. WP Rocket collects page measurements through a public endpoint on your site. It does not check the web addresses in those reports closely enough. An attacker can send a fake report that makes your site download a file from the attacker’s server, save it as a PHP file, and run it. Once that happens, the attacker can do whatever the site can do.

Not every WP Rocket site is exposed. The problem only applies to versions before 3.24.2 that have one of two settings turned on: “LazyLoad for CSS background images” or “Host Fonts Locally.” Both are off by default, but Patchstack notes they are common on sites tuned for speed.

Patchstack saw the first attack attempt on November 25, 2026. By November 26 it was blocking tens of thousands of attempts, many of them automated. Several separate groups are involved.

What It Means for Your Business

If your site uses WP Rocket, check the version now. Automated attacks hit sites by the thousands, so a small business site is not too small to be a target. A hacked site can send visitors to scam pages, host malware, send spam, or go offline. Any of those can cost you calls, leads and your Google standing.

Updating closes the hole, but it does not remove files an attacker already planted. If your site was running an older version with one of those settings on since November 25, ask your web person to check for unexpected PHP files (Patchstack mentions names like wp-media-*.php in the wp-content folders) and to look in the server logs for requests to rocket_beacon.

If you cannot update right away, turn off both features as a stopgap. Patchstack also offers its own protection rule for customers who use its service.

FAQ

Log in to your WordPress dashboard and open the Plugins page. If WP Rocket is listed, check the version number under its name. If you do not have a login, ask whoever built or hosts your site.

No. The update stops new attacks through this flaw. Any file an attacker already planted stays until someone finds and removes it, so have the site checked.

If you want a hand updating and checking your WordPress site, talk to us.

Sources

  1. Patchstack: Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack

Keep up

More Alerts.What Changed, and What to Do About It.

Heads up

Scams

1Password Security Incident: Vaults Are Safe, but Watch for Phishing

An attacker got into 1Password's backend systems and copied names, sign-in emails and other account details for some customers. Vaults and saved passwords were not touched. No account changes are needed, but expect phishing that uses 1Password's name.

See all alerts

Your move

Want Our Team to Check?

A quick call, free. Our team will tell you whether this change touches your business and what, if anything, to do first.

Nothing to prepare. Bring your questions.

Steven Digital

Replies same business day

You

Saw your alert. Does this affect us?

Steven Digital

Pick a time and we will look at it with you on the call.

Pick a time

Steven Digital · just now