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 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 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 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. 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. 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. 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. USA 24 covered a similar federal clock in our GeoServer coverage, 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 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.