# WP Rocket Flaw CVE-2026-125812 Is Under Active Attack: Update to 3.24.2

- URL: https://usa-24.com/wp-rocket-vulnerability-exploited-patch/
- Publisher: USA 24
- Section: Cybersecurity
- Published: 2026-12-01T13:01:04.252Z
- Updated: 2026-12-01T13:01:04.260Z
- Topics: WordPress Security, WP Rocket, Vulnerability Management, Web Security, Patch Management

> Attackers began exploiting a critical, no-login flaw in WP Rocket six days after the fix shipped. Here is what site owners should patch, switch off and check today.

## Key takeaways

- Attackers began exploiting CVE-2026-125812 on November 25, six days after WP Media shipped the fix in WP Rocket 3.24.2 on November 19.
- The flaw lets an unauthenticated visitor make a site save attacker-supplied content as a PHP file and run it, and Patchstack rates it 9.8 under CVSS 3.1.
- The risky code path runs only when “LazyLoad for CSS background images” or a font-hosting option is enabled, and both are off by default.
- Patchstack says every version before 3.24.2 is affected, while WP Rocket's advisory lists versions 3.15 through 3.24.1.
- Updating does not remove PHP files an attacker may have already planted, so site owners should check their wp-content folders and server logs.

Attackers began exploiting a critical WP Rocket vulnerability on November 25, six days after the caching plugin's maker shipped a fix. Patchstack, the WordPress security firm tracking the bug, says it blocked tens of thousands of attempts on November 26 alone. The flaw, tracked as CVE-2026-125812, lets an unauthenticated visitor make a site save attacker-supplied content as a PHP file and then run it.

WP Rocket runs on more than 5 million WordPress sites, and no login is required to reach the bug. If you run it, confirm your version and update first. Then look for files an attacker may have left behind, because the update does not remove them.

## How the WP Rocket vulnerability lets visitors run code

The problem sits in how the plugin handles URLs for its front-end script. That script reports URLs back to a public AJAX endpoint, and the server did not validate those URLs strictly enough. [Patchstack's analysis](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/) says a crafted request can make the server fetch attacker content and save it as a PHP file in the web root. Once that file exists, a visitor can request it and trigger the code. Patchstack scored the flaw 9.8 out of 10 under CVSS 3.1 and rated it Critical.

The risky path is not active on every site. It runs only when the “LazyLoad for CSS background images” option or a font-hosting option is enabled, and both are off by default. [ITdaily](https://itdaily.com/news/software/wp-rocket-flaw-actively-exploited/) quoted Dave Jong, Security Research Lead at Patchstack, saying: “Both features are off by default, but they are common on sites tuned for speed.” That line explains much of the exposure. The person who switched a setting for speed may not be the person who watches security notices.

## Which versions are affected and how many sites are exposed

Sources disagree on the affected range. [WP Rocket's own advisory](https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/) lists versions 3.15 through 3.24.1. Patchstack says every version before 3.24.2 is affected. Until that gap closes, treat any build older than 3.24.2 as vulnerable.

The fix shipped in version 3.24.2 on November 19. WP Media has not published a separate security advisory. Its changelog describes the change only as improved validation of cached CSS, font and preconnect files, wording that does not tell a site owner a code-execution hole was closed.

Install counts also differ. Patchstack puts the install base above 5.5 million sites, and WP Media says more than 5.6 million. Either figure makes this a wide exposure, but neither shows how many sites run a vulnerable build with the risky options switched on.

WP Rocket is a paid plugin that speeds up WordPress through page caching, CSS optimization and lazy loading, according to [Techzine Global](https://www.techzine.eu/news/security/146181/hackers-exploit-critical-vulnerability-in-wordpress-plugin-wp-rocket/). Many exposed sites belong to small businesses, nonprofits, newsrooms and schools, and agencies often manage them for clients. That setup slows patching. The person who sees the update notice may not be the one who can log in and apply it.

## Timeline from report to first attack

The dates below come from Patchstack, WP Media and secondary coverage.

| Date (2026) | What happened |
|---|---|
| Nov. 4 | A researcher credited as Vorelito reports the flaw through Patchstack's bug bounty program |
| Nov. 19 | WP Media releases WP Rocket 3.24.2 with the fix |
| Nov. 23 | Patchstack publishes its advisory |
| Nov. 25 | CVE record published; first exploitation attempt logged at 15:27 UTC |
| Nov. 26 | Patchstack blocks tens of thousands of attempts; WP Rocket 3.24.3 ships |
| Nov. 27 to 30 | Public reports of active exploitation spread |
| Nov. 30 | Flaw still absent from CISA's KEV catalog, per BreachNews' check |

The gap between the fix and the first attack is the number to remember. The bug report came fifteen days before the fix, so the flaw was known for weeks. Once the fix shipped, the outcome for each site depended on how quickly its owner applied it.

## Why the post-patch window and KEV status matter

The attack traffic did not come from one operator. Patchstack reports several independent attackers, and the ten most active IP addresses accounted for about half of all blocked attempts, according to [SecurityWeek](https://www.securityweek.com/critical-wordpress-wp-rocket-vulnerability-exploited-days-after-patching/). The sources do not identify who those operators are.

Federal response is still pending. As of November 30, the flaw was absent from CISA's Known Exploited Vulnerabilities catalog, according to [BreachNews](https://breachnews.com/cyber-attacks/wp-rocket-cve-2026-125812-exploited/). A KEV listing starts a federal remediation clock, so its absence means no formal deadline exists yet. Private sites still face the same risk. After CISA added Drupal core installer flaw CVE-2026-136716 on November 27, it urged all organizations, not only federal agencies, to prioritize KEV items, per [Bellator Cyber](https://bellatorcyber.com/blog/drupal-cve-2026-136716-urgent-site-checks). USA 24 covered a similar federal clock in our [GeoServer coverage](https://usa-24.com/geoserver-vulnerability-exploited-patch/), where a CISA deadline set the timeline for patching.

## How to update WP Rocket and remove the risky settings

Work through these steps on every WordPress site you own or manage, including staging copies and microsites.

1. Update WP Rocket to 3.24.2 or later. WP Rocket also shipped 3.24.3 on November 26, so the newest build is the safest choice.
2. If you cannot update right away, turn off “LazyLoad for CSS background images” and the font-hosting option. Patchstack calls the setting “Host Fonts Locally,” while WP Rocket's documentation uses “Self-host Google Fonts,” depending on the version.
3. Check the file system for planted PHP files. Look in wp-content/wp-rocket-config/, wp-content/uploads/ and the wp-content folder itself for PHP files you did not place there, including names that match wp-media-*.php.
4. Review server logs for outbound connections to servers you do not recognize.
5. Review WordPress admin accounts and remove any user you did not add.

Patchstack says it has deployed a mitigation rule for its customers. That rule helps, but it does not replace updating the plugin.

## How to check whether a site was already hit

Updating stops new exploitation, but it does not remove a PHP file an attacker already wrote. If a vulnerable build ran on a reachable site after November 25, assume you need to check it. Start with modification dates on PHP files in wp-content, and compare them against a clean backup taken before November 25. [Imunify360's guidance](https://blog.imunify360.com/wp-rocket-rce-cve-2026-125812/) centers on the same planted-file checks.

If you find unexpected PHP files, take the site offline if you can and preserve the logs. Bring in a security professional or your host before deleting anything, because removing evidence can make it harder to learn how the intrusion happened. Patchstack's figures count blocked attempts, not confirmed intrusions. A clean scan is encouraging, but it does not prove a site was never reached.

## What remains unknown and what to watch

Several basic questions remain open. Nobody has counted how many sites were actually compromised, and Patchstack's report does not confirm that PHP files were written or executed on individual sites. The affected version range is disputed, and the name of the font setting varies by source. Patchstack is the only exploitation data source, and the secondary coverage mostly repeats its numbers.

Watch three things. First, whether CISA adds CVE-2026-125812 to KEV, which would start a federal deadline. Second, whether WP Media publishes a formal security advisory that settles the version range and explains the fix. Third, whether attempt volume falls after the update push or keeps climbing. The answers will show whether this is a short burst against unpatched sites or a longer campaign aimed at speed-optimized WordPress installs wherever they appear.

## Frequently asked questions

### How do I know if my WordPress site is hacked through the WP Rocket flaw?

Start by checking whether you run WP Rocket and whether its version is below 3.24.2. Then look for unexpected PHP files in wp-content folders and review server logs for outbound connections to unknown servers. Patchstack's data counts blocked attempts, not confirmed intrusions, so a clean scan is encouraging but not proof.

### Which WP Rocket version fixes CVE-2026-125812?

WP Rocket 3.24.2, released November 19, 2026, contains the fix. WP Rocket also shipped 3.24.3 on November 26, so the newest build is the safest choice. Sites on any earlier version should be treated as vulnerable, because sources disagree on the exact affected range.

### Does turning off the risky settings protect a site?

Turning off “LazyLoad for CSS background images” and the font-hosting option keeps the vulnerable code path from being reached, according to the reported conditions. It works as a stopgap, not a replacement for updating. The font option's label differs by version, so check your settings page carefully.

### Is CVE-2026-125812 in CISA's KEV catalog?

As of November 30, 2026, the flaw was not in CISA's Known Exploited Vulnerabilities catalog, according to BreachNews' check. A KEV listing would start a federal remediation clock. Site owners do not need to wait for that listing before updating and checking their sites.

## Sources

1. [Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack — Patchstack](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)
2. [WP Rocket security advisory and mitigation steps for CVE-2026-125812 — WP Rocket](https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/)
3. [Hackers exploit critical flaw in WordPress plugin WP Rocket — ITdaily](https://itdaily.com/news/software/wp-rocket-flaw-actively-exploited/)
4. [Critical WordPress WP Rocket Vulnerability Exploited Days After Patching — SecurityWeek](https://www.securityweek.com/critical-wordpress-wp-rocket-vulnerability-exploited-days-after-patching/)
5. [Hackers Exploit Critical WP Rocket Flaw CVE-2026-125812 — BreachNews](https://breachnews.com/cyber-attacks/wp-rocket-cve-2026-125812-exploited/)
6. [WP Rocket Vulnerability CVE-2026-125812 Exploited — SOCRadar](https://socradar.io/blog/wp-rocket-vulnerability-cve-2026-125812/)
7. [Exploited WP Rocket flaw: update, check for planted files — Imunify360](https://blog.imunify360.com/wp-rocket-rce-cve-2026-125812/)
8. [Hackers exploit critical vulnerability in WordPress plugin WP Rocket — Techzine Global](https://www.techzine.eu/news/security/146181/hackers-exploit-critical-vulnerability-in-wordpress-plugin-wp-rocket/)
9. [Drupal CVE-2026-136716 Demands Urgent Site Checks — Bellator Cyber](https://bellatorcyber.com/blog/drupal-cve-2026-136716-urgent-site-checks)
