WP Rocket vulnerability CVE-2026-125812 under active exploitation: update to 3.24.2

Hiệp Cao · Updated Dec 2, 2026

WP Rocket vulnerability CVE-2026-125812 under active exploitation: update to 3.24.2 now

Updated December 2, 2026. WP Rocket, a widely used premium caching plugin for WordPress, has patched a critical flaw that lets attackers run code on a website without logging in. Patchstack has recorded mass exploitation since November 25, 2026. IT Systems summarizes who is affected, how to check and what businesses should do now.

Quick answer: The WP Rocket vulnerability CVE-2026-125812 (CVSS 9.8) lets unauthenticated attackers write and run PHP code on WordPress sites using WP Rocket before 3.24.2 when CSS background LazyLoad or Host Fonts Locally is enabled. It has been exploited since November 25, 2026: update to 3.24.2 or later now and look for unknown wp-media-*.php files.

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

CVE-2026-125812 is an input validation flaw in WP Rocket that lets an attacker on the Internet place a PHP file on the server and then execute it. The table below is compiled by IT Systems from the WP Rocket changelog, the Patchstack database and NVD:

ItemDetails
CVE IDCVE-2026-125812 (NVD lists CWE-22, path traversal)
CVSS 3.1 score9.8 – Critical (Patchstack, the CVE Numbering Authority)
ProductWP Rocket – premium caching plugin for WordPress by WP Media
Affected versionsAll versions before 3.24.2
Exploit conditionsLazyLoad for CSS background images or Host Fonts Locally (Google Fonts) enabled; both are off by default
Fix3.24.2 (November 19, 2026); latest release 3.24.3 (November 26, 2026)
Login required?No
Exploited?Yes – Patchstack recorded attacks from November 25, 2026; not in the CISA KEV catalog (version of November 30, 2026)

According to Patchstack, WP Rocket runs a small script in visitors’ browsers to measure each page and sends the results to a public AJAX endpoint (the rocket_beacon request). The plugin did not validate the URLs in these reports strictly enough, so an attacker can send a forged report that makes the site download content from an attacker-controlled server and save it as a PHP file. The WP Rocket 3.24.2 changelog lists the security fix as improved validation of cached CSS, font and preconnect files.

Timeline of WP Rocket vulnerability CVE-2026-125812

DateEvent
Nov 5, 2026A researcher reports the flaw to WP Rocket through Patchstack’s vulnerability disclosure program
Nov 19, 2026WP Media releases WP Rocket 3.24.2 with the fix
Nov 23, 2026Patchstack publishes the vulnerability (CVSS 9.8, unauthenticated)
Nov 25, 2026NVD publishes CVE-2026-125812; Patchstack records the first exploitation attempt at 15:27 UTC
Nov 26, 2026Attacks turn into large-scale automated campaigns, with tens of thousands of attempts blocked in one day (Patchstack); WP Rocket releases 3.24.3

2. Is my WordPress site affected?

A site is affected when both are true: it runs WP Rocket below 3.24.2, and at least one of the two features, CSS background LazyLoad or Host Fonts Locally, is enabled. Both features are off by default but are common on speed-tuned sites, so many business websites fall into the risk group.

To check the version, open Plugins in the WordPress dashboard and find WP Rocket, or on a server with WP-CLI run wp plugin get wp-rocket --field=version. Even if both features are off, IT Systems still recommends updating, because the configuration may change later.

3. How to update WP Rocket and check for signs of attack

The immediate task is to update WP Rocket to 3.24.2 or later (latest 3.24.3), then check whether unknown files were planted before the patch.

Four steps to fix WP Rocket vulnerability CVE-2026-125812: check version, update to 3.24.2, find unknown wp-media-*.php files, review rocket_beacon logs
WP Rocket vulnerability CVE-2026-125812 under active exploitation: update to 3.24.2 3
  1. Back up files and the database before updating so you can roll back if the theme breaks.
  2. Update WP Rocket from the Plugins screen. WP Rocket is a paid plugin and only receives automatic updates while the license is active; if no update notice appears, check the license and download the new version from your WP Rocket account.
  3. If you cannot update today, temporarily turn off CSS background LazyLoad and Host Fonts Locally in the WP Rocket settings, and enable web application firewall (WAF) rules from your host or security plugin.
  4. Look for unknown files named like wp-media-*.php in wp-content/, wp-content/uploads/ and wp-content/wp-rocket-config/.
  5. Review access logs since November 25, 2026: rocket_beacon requests from clients that never loaded the page they report on, and outbound connections from the web server to unfamiliar hosts such as nip.io domains or temporary trycloudflare.com tunnels.

IT Systems recommendation: Patchstack notes that the update stops new attacks but does not remove planted files. So for any site that ran WP Rocket below 3.24.2 after November 25, 2026 with either feature enabled, we treat it as possibly compromised: review files, compare against a backup from before November 25, and reset admin passwords and the security keys (salts) in wp-config.php if unknown files are found. For signs of reinfection after a scan, see WordPress reinfected after a malware scan (backdoor cleanup).

4. Checklist for businesses running WP Rocket

Six-item checklist for WordPress sites running WP Rocket against CVE-2026-125812
WP Rocket vulnerability CVE-2026-125812 under active exploitation: update to 3.24.2 4
  1. Update WP Rocket to 3.24.2 or later (3.24.3 recommended).
  2. Cannot update yet: turn off CSS background LazyLoad and Host Fonts Locally, and enable a WAF.
  3. Search for wp-media-*.php in wp-content, uploads and wp-rocket-config.
  4. Review access logs for unusual rocket_beacon requests since November 25, 2026.
  5. Check outbound connections from the server to nip.io, trycloudflare.com or unknown websites.
  6. If you suspect compromise: reset admin passwords and salts, and review unknown Administrator accounts as described in strange WordPress admin users after a hack.

In November 2026 WordPress also had the exploited WordPress core vulnerability CVE-2026-119977, so both core and plugins need timely patching. Businesses should track plugin patches on a regular schedule, as covered in WordPress security monitoring for small businesses.

5. How IT Systems can help

IT Systems checks plugin versions, updates WP Rocket safely (with backups and a post-update layout check), scans for unknown files, reviews access logs and configures firewalls for business websites in Ho Chi Minh City, Hanoi and remotely nationwide. See our WordPress security services, WordPress maintenance and cybersecurity solutions for businesses. If your site already shows unknown files or strange redirects, see our WordPress malware and error repair service.

Frequently asked questions

Is a site safe from CVE-2026-125812 if CSS background LazyLoad and Host Fonts Locally are turned off?

The risk drops sharply, because Patchstack says the flaw can only be exploited when one of these two features is on. It is still only a stopgap: the features can be switched back on later, so WP Rocket should be updated to 3.24.2 or later.

Is my site clean once WP Rocket is updated to 3.24.2?

Not necessarily. The update blocks new attacks but does not remove files an attacker already planted. If the site ran an older version after November 25, 2026 with either feature on, look for unknown wp-media-*.php files and review the access logs.

How do I check which WP Rocket version my site runs?

In the WordPress dashboard, open Plugins and find WP Rocket to see its version number. On a server with WP-CLI, run wp plugin get wp-rocket –field=version. Any version below 3.24.2 is not patched against CVE-2026-125812.

References

Last updated: December 2, 2026.

Request adviceChat on ZaloCall hotline