Attackers exploit WP Rocket flaw for unauthenticated PHP execution
Original title: Hackers Exploit WP Rocket Flaw to Run Malicious Code on WordPress Sites Without Logging In
CVE-2026-125812 hits WP Rocket 3.15–3.24.1 when one of two optional features is on; 3.24.2 fixes it.
Patchstack says unauthenticated attackers are exploiting CVE-2026-125812 (CVSS 9.8) to write and run PHP on WordPress sites running WP Rocket 3.15 through 3.24.1 with LazyLoad for CSS background images or Host Fonts Locally enabled. Both settings are off by default. The vendor fixed the issue in 3.24.2 on November 19, 2026; Patchstack saw the first attempt on November 25 and tens of thousands of blocked requests the next day. Blocked attempts are not confirmed compromises, and updating does not remove files already planted.
Unconfirmed: The report does not establish how many sites were successfully compromised.
- The flaw is insufficient checks on browser page-measurement data sent to WP Rocket.
- Only one of the two optional features needs to be enabled.
- Top blocked source 103.235.74.71 accounted for 5,352 attempts.
- Patchstack’s RapidMitigate rule was active more than two days before the first attempt.
- Check wp-content, uploads, and wp-rocket-config for unexpected PHP, including wp-media-*.php.
Impact: Unauthenticated remote PHP code execution on the server
| Product | Affected | Fixed in |
|---|---|---|
| WP Rocket | 3.15 through 3.24.1 with LazyLoad for CSS background images or Host Fonts Locally enabled | 3.24.2 |
- 1.Update WP Rocket to 3.24.2 or later.
- 2.If you cannot update, disable both LazyLoad for CSS background images and Host Fonts Locally.
- 3.Review logs from at least November 25 and unexpected PHP under wp-content.
- CVEs
- CVE-2026-125812
- Vendors
- WP Rocket
- Products
- WordPress
- Organizations
- Patchstack
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-125812 | Path traversal in WP Rocket before 3.24.2 | 9.8 | 1% | PoC ×2 |
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| ipv4 | 103.235.74.71 | ocked Attempts : Source IP address Network Blocked requests 103.235.74.71 Ikubaru (Indonesia) 5,352 157.245.122.230 DigitalOcean 5,00 |
| ipv4 | 103.235.74.72 | ) 3,455 180.232.236.101 Eastern Telecom (Philippines) 2,288 103.235.74.72 Ikubaru (Indonesia) 1,950 201.79.120.217 DigitalOcean 1,938 |
| ipv4 | 112.78.154.32 | Ikubaru (Indonesia) 1,950 201.79.120.217 DigitalOcean 1,938 112.78.154.32 Biznet (Indonesia) 1,876 167.71.75.155 DigitalOcean 1,600 4 |
| ipv4 | 152.89.170.194 | kubaru (Indonesia) 5,352 157.245.122.230 DigitalOcean 5,003 152.89.170.194 C1V Hosting (Italy) 3,455 180.232.236.101 Eastern Telecom ( |
| ipv4 | 157.245.122.230 | rk Blocked requests 103.235.74.71 Ikubaru (Indonesia) 5,352 157.245.122.230 DigitalOcean 5,003 152.89.170.194 C1V Hosting (Italy) 3,455 |
| ipv4 | 167.71.75.155 | 7 DigitalOcean 1,938 112.78.154.32 Biznet (Indonesia) 1,876 167.71.75.155 DigitalOcean 1,600 43.163.8.253 Aceville / Tencent Cloud (S |
| ipv4 | 180.232.236.101 | DigitalOcean 5,003 152.89.170.194 C1V Hosting (Italy) 3,455 180.232.236.101 Eastern Telecom (Philippines) 2,288 103.235.74.72 Ikubaru ( |
| ipv4 | 201.79.120.217 | (Philippines) 2,288 103.235.74.72 Ikubaru (Indonesia) 1,950 201.79.120.217 DigitalOcean 1,938 112.78.154.32 Biznet (Indonesia) 1,876 1 |
| ipv4 | 43.163.8.253 | 2 Biznet (Indonesia) 1,876 167.71.75.155 DigitalOcean 1,600 43.163.8.253 Aceville / Tencent Cloud (Singapore) 1,326 51.79.199.209 OV |
| ipv4 | 51.79.199.209 | 600 43.163.8.253 Aceville / Tencent Cloud (Singapore) 1,326 51.79.199.209 OVH (Singapore) 1,018 Patchstack blocked tens of thousands |
From the original article
2 min read at cybersecuritynews.com
A critical WP Rocket flaw, CVE-2026-125812 (CVSS 9. 8), allows unauthenticated attackers to write and execute malicious PHP code on vulnerable WordPress websites. WordPress administrators should update the plugin to 3.
By Abinaya · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.