Vulnerability
Published 2026-11-27 New
Verified 2026-12-01

WP Rocket CVE-2026-125812: unauthenticated remote code execution in the WordPress caching plugin is under active attack, Patchstack says; fixed in 3.24.2

WP Rocket said CVE-2026-125812 affects websites running WP Rocket versions 3.15 through 3.24.1 where at least one of the LazyLoad for CSS background images or Self-host Google Fonts features is enabled, and that under these conditions an attacker can execute arbitrary code on the affected website without authentication (source: WP Rocket).

WP Rocket says the issue is fixed in WP Rocket 3.24.2, released on November 19, 2026, and that Patchstack has reported active automated exploitation attempts targeting vulnerable sites (source: WP Rocket).

Patchstack says the flaw lets unauthenticated attackers write and execute PHP code on affected sites, that its telemetry shows the first exploitation attempt on November 25, 2026 at 15:27 UTC (25 Nov 23:27 Perth), and that within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone (source: Patchstack).

Patchstack says attackers host payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels and other likely compromised WordPress sites, and that the update does not remove files an attacker already planted (source: Patchstack).

According to BleepingComputer, WP Rocket's developer WP Media says the plugin is used on more than 5.6 million sites (source: BleepingComputer).

Product
WP Rocket (WordPress caching plugin)
Versions
Per WP Rocket: 3.15 through 3.24.1, where LazyLoad for CSS background images or Self-host Google Fonts is enabled.
CVSS
9.8 (Critical, per Patchstack)
Exploited in Australia?
unknown
Patch to
Per WP Rocket (as of 27 Nov): update to WP Rocket 3.24.2 or later; if you cannot update, turn off LazyLoad for CSS background images and Self-host Google Fonts. Per Patchstack, sites that ran a vulnerable version should check wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ for unexpected PHP files and review logs.

vulnerabilities