More than 5.6 million sites run software that researchers say is now being actively exploited via CVE-2026-125812.
CVE-2026-125812: how the WP Rocket flaw works
Security researchers have identified a critical vulnerability in the WP Rocket caching plugin that allows unauthenticated attackers to write and execute arbitrary PHP code on vulnerable WordPress sites. The issue, tracked as CVE-2026-125812, is caused by insufficient validation of data sent to a public endpoint, which enables attackers to download and run PHP payloads from external locations.
The flaw affects WP Rocket versions before 3.24.2 when either the “LazyLoad for CSS background images” or “Host Fonts Locally” options are enabled; the vendor notes both options are inactive by default. WP Rocket’s developer, WP Media, says the plugin is used on more than 5.6 million sites by 394,000 customers — a scope that underlines why researchers and administrators are treating the vulnerability as high risk.
Patchstack timeline and observed attacker behavior
WordPress security firm Patchstack reported the first low-scale, manual exploitation attempts on November 25 at 15:27 UTC. Attacker activity escalated the next day into fully automated campaigns. Patchstack’s platform blocked more than 25,000 malicious requests from multiple attackers during that surge.
Researchers describe attacker tactics that attempt to trigger either of the two vulnerable feature paths in a single request. “Attackers use both feature paths, sometimes in one request, so that whichever feature a site has enabled, one of them fires,” Patchstack says. The attackers host payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely already compromised.

Nobody's watching your logs at 2 AM.
Full SOC coverage without building one. Nubivance deploys and manages Rapid7 InsightIDR and MDR for organizations that need detection and response, not another dashboard.
Get coverageWP Media’s response: patches, advisory, and helper plugin
WP Media released fixes for the vulnerability on November 19 and published an advisory over the weekend urging users to upgrade to version 3.24.2 or later. For administrators who cannot install the update immediately, the vendor advised turning off the affected settings: disable LazyLoad for CSS background images and Self-host Google Fonts via WP Rocket > Page Optimization > Image & Media > Media tab.
To help teams managing multiple sites, WP Media also published a helper plugin intended to mitigate exploitation risk across many installations. Patchstack additionally published a list of attacker IP addresses that website owners should consider putting in a blocklist immediately.
Clean-up and persistence: why updating is not enough
Both WP Media and Patchstack emphasize that updating to a patched version does not remove files attackers may have already placed on compromised sites. Administrators who ran a vulnerable release with either of the exploitable options enabled are advised to review server logs for suspicious requests and outbound connections and to look for previously planted files that could provide persistence or backdoor access.
Patchstack’s evidence of automated, high-volume exploitation — and the variety of hosting techniques used for attacker payloads — indicates that the window for opportunistic compromise widened quickly after public disclosure and initial exploitation attempts.
How technologists and site owners are likely to respond
- Technologists and security teams: expect immediate triage — apply WP Rocket 3.24.2 or later where possible, block the attacker IPs listed by Patchstack, and scan webservers for unexpected PHP files or outbound connections. The presence of automated, multi-path exploitation means detection and incident response procedures should prioritize indicators of both inbound exploit attempts and post-compromise activity.
- Site owners and managers (WP Rocket customers): if you cannot update immediately, disable LazyLoad for CSS background images and Self-host Google Fonts in the specified WP Rocket settings. Use the vendor’s helper plugin if you manage multiple sites, and review access logs for requests that fetched external payloads or used wildcard DNS and temporary tunnel domains noted by researchers.
- Managed hosts and multi-site operators: because attackers are hosting payloads on varied infrastructure — from bare IPs to wildcard DNS providers and likely-compromised WordPress sites — hosts should consider network-level mitigations, heightened monitoring for outbound connections to the listed domains, and communication to customers that ran vulnerable plugin versions with the affected options enabled.
The timeline in the public reporting is compact: a fix issued on November 19, observed manual exploitation on November 25, and rapid automated campaigns the following day. That sequence underscores a common reality in web platform security — disclosed flaws with available exploit paths can be weaponized quickly. For administrators, the immediate tasks are clear and technical: patch to 3.24.2 or later, disable the two options if unable to patch, apply recommended blocklists, and hunt for remnants of prior compromise.
Read the original report: https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/




