WP Rocket Flaw CVE-2026-125812 Exploited: Update to 3.24.2 Now


ثغرة WP Rocket CVE-2026-125812 مستغلة: حدّث إلى 3.24.2 فوراً

A small WooCommerce shop owner turned on WP Rocket's "host Google Fonts locally" option months ago to shave a second off load times, then forgot about it. Today that small setting may be the door an attacker walks through, without a password or an account, to plant a malicious PHP file on the server and run it. This is not a theoretical scenario: a critical WP Rocket flaw tracked as CVE-2026-125812 has been actively exploited since November 25, 2026.

In short: The WP Rocket flaw CVE-2026-125812 lets an unauthenticated attacker write and execute PHP code on a site, and Patchstack rates it 9.8 out of 10. It affects versions before 3.24.2 when LazyLoad for CSS background images or self-hosted Google Fonts is enabled. The fix: update to 3.24.2 or later right away, then check the site for planted files.

What is the WP Rocket vulnerability CVE-2026-125812?

WP Rocket is a premium WordPress performance plugin that speeds up sites through caching and file optimization, developed by WP Media. According to figures BleepingComputer cited from the developer, it runs on more than 5.6 million sites and has around 394,000 customers.

The problem lies in a public endpoint that receives the measurement reports the plugin collects from pages. The plugin did not properly validate URLs inside these reports, so an attacker could send a carefully crafted report that forces the site to download content from an external server and save it as a PHP file, which then runs on the server. The result is remote code execution with no authentication at all, one of the most dangerous classes of website vulnerabilities.

Who is actually affected?

Not every site running WP Rocket is exposed. The flaw requires two conditions together:

  • An older version: every release before 3.24.2. WP Media's advisory gives the range as 3.15 through 3.24.1.
  • An enabled feature: LazyLoad for CSS background images, or the option to self-host Google Fonts (labelled Self-host Google Fonts or Host Fonts Locally depending on the version).

Both options are off by default, but plenty of site owners turn them on to improve speed test scores, so don't assume your site is safe until you've checked.

When did exploitation start, and how do the attacks work?

WP Media released version 3.24.2 on November 19. The changelog described the fix briefly as improved validation of cached CSS, font and preconnect files, without calling it a code execution flaw. Just six days later, Patchstack saw the first exploitation attempts on November 25 at 15:27 UTC. They were manual and small in scale, and turned into automated campaigns the following day.

Patchstack says it blocked tens of thousands of exploitation attempts on November 26 alone, and more than 25,000 malicious requests have hit its platform. Among its observations:

  • Several independent operators are active, some sending the same payload to many sites.
  • Attackers host payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels and WordPress sites that are likely compromised.
  • Some attackers probe sites first to confirm they are vulnerable before sending a payload.

This is the usual pattern after a fix ships: attackers compare the old and new code, extract the bug, then race site owners who haven't updated. It is close to the logic of zero-day attacks, except that here the patch has been out for days.

Why did so many people miss the update?

First, the 3.24.2 release note was vague, so many administrators didn't see it as an urgent security release. Second, WP Rocket is a paid plugin, and some sites run on an expired licence, which means automatic updates never arrive. The lesson is simple: any update to a performance or security plugin that mentions "Security" in its changelog deserves to be applied within a day or two, not weeks.

How to check your WP Rocket version

  1. Log in to your WordPress dashboard and open the Plugins page.
  2. Find WP Rocket in the list; the version number appears under its name.
  3. If the number is lower than 3.24.2, your site needs an update now. The latest release at the time of writing is 3.24.3, published on November 26.

Managing many sites? Pull the version list in one go and start with sites using either option.

What to do now: practical steps for site owners

Order matters here: close the door first, then make sure nobody got in before you.

1. Update the plugin

Update WP Rocket to 3.24.2 or later from the Plugins page. Automatic updates need an active licence, so if yours has expired, apply the next step immediately until the licence is sorted out.

2. Disable the two features if you can't update

Open the WP Rocket settings and turn off LazyLoad for CSS background images and the self-hosted Google Fonts option. BleepingComputer places both under the Media section of the settings, though their location may differ slightly by version. WP Media also says it has provided a helper plugin for people managing several sites, and that a multisite network administrator must activate it on each affected subsite.

3. Look for signs of compromise

Updating closes the door but doesn't evict anyone already inside. The new version does not remove files an attacker planted earlier. Look for:

  • Unexpected PHP files, such as files named wp-media-*.php, inside wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content itself.
  • POST requests to admin-ajax.php with action=rocket_beacon in your server logs, especially from clients that never loaded the page.
  • Outbound connections from the server to unfamiliar hosts, nip.io names or trycloudflare.com.
  • New administrator accounts you didn't create.

4. Have a clean backup ready

If you find suspicious files, the safest route is to bring in a specialist or your hosting provider and restore a backup taken before November 25. Read our tips for avoiding backup problems before restoring, then change your dashboard, database and FTP passwords.

To spot quickly if your site goes down after an attack, try a monitoring tool such as the Alertiva website monitoring app.

FAQ

Is my site at risk if LazyLoad for backgrounds and local fonts are both disabled?

According to WP Media and Patchstack, the flaw only works when one of the two features is enabled. Updating is still the right move, because turning either option on later would bring the risk back.

Which WP Rocket version is safe?

Version 3.24.2 and later. The newest release as of November 30 is 3.24.3.

Is updating enough if my site is already hacked?

No. The update only blocks new exploitation; it doesn't remove files or accounts the attacker created. You need to check folders and logs and clean the site.

Is the flaw in CISA's Known Exploited Vulnerabilities catalog?

As of this article it has not been added, but exploitation is documented by Patchstack and has been reported by specialist security outlets.

The takeaway

If you use WP Rocket, open your Plugins page now and confirm you are on 3.24.2 or later. If not, update immediately or disable the two features, then search your folders for strange PHP files. A flaw that can be exploited without a password shouldn't wait until the end of the week.

Sources: Patchstack, BleepingComputer, the WP Rocket changelog, WP Media's security advisory, OpenCVE.

Because website security starts with timely plugin updates, our interest extends from following Arabic websites and specialized blogs, to what Egypt stores, Kuwait stores, vitamin stores and international sites offer, with Mashhor for social media services as a key to growth.

 

That's it, friends. We hope you found this useful ✌

Best wishes from the #Ezznology team.

Join our community on Telegram and our Facebook group, and follow us on Google News.

 

You may also like:

Alertiva Website Monitoring App: Instant Alerts for Downtime and SSL Expiry

5 Tips to Avoid Problems When Running a Backup

What Is a Zero-Day Vulnerability?

Cisco Expressway CVE-2026-76466 Added to CISA KEV: Update to X15.5.20