Hackers exploit critical WordPress WP Rocket flaw to breach sites
Reported by GBHackers News, BleepingComputer, Mezha and 1 more outlets4 sources ↓
Attackers are exploiting CVE-2026-125812 in the WP Rocket plugin to run PHP code on WordPress sites. Patchstack says it blocked more than 25,000 malicious requests.
Key points
- The flaw affects WP Rocket versions before 3.24.2 when either of two options is enabled
- WP Media released a fix on November 19 and urged users to upgrade to version 3.24.2 or later
- Patchstack saw manual attempts on November 25, followed by automated campaigns the next day
Sources
- GBHackers NewsRead ↗Hackers Exploit Critical WP Rocket Vulnerability to Compromise WordPress Websites
- BleepingComputerRead ↗Hackers exploit critical WordPress WP Rocket flaw to breach sites
- MezhaRead ↗Hackers exploit critical WP Rocket flaw to run PHP code on WordPress sites
- Business UpturnRead ↗WP Rocket CVE-2026-125812 under attack: update to 3.24.2
Details
The flaw stems from insufficient validation of data sent to a public endpoint, allowing unauthenticated attackers to write and run PHP code downloaded from an external source. It affects sites using versions before 3.24.2 when either “LazyLoad for CSS background images” or “Host Fonts Locally” is enabled; both options are off by default.
Patchstack reported that attackers target both feature paths, sometimes in the same request, and host payloads on bare IP addresses, wildcard DNS names, temporary Cloudflare tunnels and other WordPress sites. The security firm said it observed more than 25,000 malicious requests blocked by its platform.
WP Rocket’s developer, WP Media, released the fix on November 19 and published an advisory over the weekend. For sites that cannot yet be updated, the company recommends disabling the affected options; Patchstack also supplied IP addresses to block and a helper plugin for administrators managing multiple sites.
Updating does not remove files attackers may already have planted. Administrators whose sites ran a vulnerable version with an affected option enabled should review logs for suspicious requests and outbound connections, BleepingComputer reports.
Written from coverage as of
Images
- BleepingComputer
- BleepingComputer
Stocks in this story
Change since open: 30 Nov 2026, 9:00 AM to 6:06 PM
Last refresh