Attackers exploit critical WP Rocket flaw to plant PHP on WordPress sites
December 4: Horizon3 says a public GitHub proof-of-concept exists, classifies the flaw as CWE-22, and reports 3.24.3 as the current release.
Unauthenticated attackers are exploiting patched CVE-2026-125812 in WP Rocket; a public proof-of-concept is now on GitHub.
Unauthenticated attackers are exploiting CVE-2026-125812 (CVSS 9.8) in the WP Rocket WordPress plugin to make sites save attacker-controlled content as PHP and run it. Versions 3.15 through 3.24.1 are affected when LazyLoad for CSS background images or Host Fonts Locally is enabled; both options are off by default. WP Media fixed the issue in 3.24.2 on November 19, and Horizon3 says 3.24.3 is the current release. Patchstack recorded the first attempt on November 25 and blocked tens of thousands of requests on November 26 as activity became automated; those figures are blocked requests, not confirmed compromises. BleepingComputer and SecurityWeek say the plugin is used on more than 5.6 million sites, while The Hacker News and Horizon3 say more than 5.5 million. Updating stops new attacks but does not remove files planted earlier.
- CVE-2026-125812 is CVSS 9.8 and classified by Horizon3 as CWE-22.
- Affected builds are 3.15 through 3.24.1; 3.24.2 was released November 19.
- Only one of the two optional features needs to be enabled.
- Horizon3 says a public proof-of-concept is available on GitHub.
- Wordfence blocked 135 attacks in 24 hours, according to The Hacker News.
- Sites that cannot update can disable both features or use Patchstack’s virtual patch.
Timeline
dated events in the reporting · oldest first- Nov 19, 2026WP Media released WP Rocket 3.24.2 fixing the flaw · Cyber Security News
- Nov 25, 2026Patchstack recorded the first exploitation attempt · GBHackers
- Nov 26, 2026Attempts became automated; tens of thousands were blocked · Patchstack via SecurityWeek
What each outlet adds
beyond the shared facts- Horizon3.aiPublic GitHub proof-of-concept, CWE-22, and 3.24.3 as current release.
- The Hacker NewsWordfence blocked 135 attacks in 24 hours; cites 5.5 million sites.
- Cyber Security NewsTop blocked IP made 5,352 attempts; RapidMitigate was active early.
- BleepingComputerSites can disable both features or use the vendor helper plugin.
- GBHackersTen IPs made about half of blocked attempts; one proxy-like cluster.
- CVEs
- CVE-2026-125812
- Organizations
- PatchstackWordfenceSOCRadar
Coverage
oldest first · one row per article · UTCWP Rocket before 3.24.2 exploited for unauthenticated code execution
Patchstack logged the first attempt on November 25 and blocked tens of thousands of requests on November 26.
Attackers exploit WP Rocket flaw for unauthenticated PHP execution
CVE-2026-125812 hits WP Rocket 3.15–3.24.1 when one of two optional features is on; 3.24.2 fixes it.
Hackers exploit critical WP Rocket flaw to run PHP on WordPress sites
CVE-2026-125812 affects WP Rocket before 3.24.2 only if two optional features are on; Patchstack blocked over 25,000 requests.
Hackers exploit critical WP Rocket flaw for unauthenticated RCE
CVE-2026-125812 hits WP Rocket before 3.24.2 when two optional features are on; tens of thousands of attempts were blocked.
WP Rocket flaw CVE-2026-125812 lets attackers plant PHP files
The available text names only the CVE and PHP-file impact; versions, a fix, and exploitation are not stated.
Attackers exploit critical WP Rocket flaw days after patch
Versions 3.15 through 3.24.1 can store attacker content as PHP when two optional features are on; 3.24.2 fixes it.
WP Rocket path traversal exploited for unauthenticated RCE (CVE-2026-125812)
Versions 3.15 through 3.24.1 are affected only if LazyLoad or Host Fonts Locally is enabled; 3.24.2 fixes it.
Vulnerabilities in this story
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-125812 | Path traversal in WP Rocket before 3.24.2 | 9.8 | 7% | PoC ×3 |