Vulnerabilities · 2 days ago

WP Rocket patch can leave planted PHP behind

Patchstack says automated exploitation of WP Rocket’s unauthenticated code-execution flaw escalated on November 26, when it blocked tens of thousands of attempts. The flaw affects versions before 3.24.2, released November 19, but only sites with CSS background-image LazyLoad or Host Fonts Locally enabled.

WP Rocket’s visitor-facing measurement script sends page data to a public endpoint. Attackers can forge that report so the site fetches their content and saves it as executable PHP. The update closes the vulnerable route, but does not remove files attackers may already have planted.

For a WordPress site that had either option enabled while running a vulnerable version, the plugin can be fixed while attacker-planted PHP may remain on the server. Whether the site was exposed before patching can therefore matter even after its WP Rocket version is current.

Patching blocks new attacks but leaves potential attacker-planted files behind, making post-upgrade compromise checks part of remediation.

CVE-2026-125812

NVD KEV

EUVD-2026-135330 · Source: ENISA EUVD

CVSS 9.8 CRITICAL: improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Media WP Rocket… EPSS 7% (95th percentile).

Timeline

Sources

3 sources covering this story

Entities

Part of the PlainSec briefing for 2026-12-02

Editions

Related stories