Science & Tech · Cybersecurity · 47 mins ago
Hackers exploit critical flaw in WordPress WP Rocket plugin
Hackers are exploiting a critical flaw in WP Rocket, a paid plugin used to improve the performance of WordPress websites.
The flaw affects versions before 3.24.2 when either of two optimization features is enabled; both are off by default.
The bug lets attackers run PHP code without logging in by abusing a public endpoint to make a site download and run a file from an outside server.
Security researchers saw initial attacks on November 25, followed by automated campaigns the next day.
The plugin’s developer released a fix, and users should update to version 3.24.2 or later; those who cannot update should turn off the affected features.
Updating may not remove files attackers already planted, so administrators should check for suspicious files, requests and connections in their logs.
Hackers are actively exploiting a critical flaw in the WP Rocket caching plugin to run PHP code on vulnerable WordPress sites.
The flaw, tracked as CVE-2026-125812, affects plugin versions before 3.24.2 when either of two optimization features is enabled.
WP Media released a fix on November 19, 2026, and users are urged to upgrade.
Patchstack recorded the first exploitation attempts on November 25, followed by automated campaigns.
Updating does not remove files attackers may already have planted on affected sites.
- Who
- Hackers are exploiting the flaw. WordPress site administrators using affected WP Rocket versions are at risk.
- What
- A vulnerability lets unauthenticated attackers write and execute PHP code on affected sites.
- When
- Exploitation was first observed on November 25, 2026. The fix was released on November 19, 2026.
- Where
- WordPress sites running vulnerable versions of the WP Rocket plugin.
- Why
- Insufficient validation at a public endpoint lets attackers make sites download and execute PHP code. The flaw’s exploitation path requires either of two features to be enabled.
This story does not have two clearly opposing sides.
WP Media released version 3.24.2, which fixes the vulnerability.
Patchstack observed the first exploitation attempts.
The activity escalated to automated campaigns, with tens of thousands of attempts blocked, according to The Hacker News.
- Vulnerability
- CVE-2026-125812
- Severity
- CVSS 9.8
- Fixed version
- WP Rocket 3.24.2
- Affected versions
- Before 3.24.2, with either LazyLoad for CSS background images or Host Fonts Locally enabled
- Blocked malicious requests
- More than 25,000, according to Patchstack as reported by BleepingComputer
- Users
- More than 5.5 million sites and over 386,000 customers, according to WP Rocket’s website as reported by The Hacker News
3 sources
What people are saying
CVE-2026-125812 "lets unauthenticated attackers write and execute PHP code on affected sites,
The update stops new attacks, but it does not remove files an attacker already planted,
Attackers use both feature paths, sometimes in one request, so that whichever feature a site has enabled, one of them fires,