Exploitation Attempts Target Critical WP Rocket Flaw CVE-2026-125812: Update to a Fixed Release
A vulnerability in the WP Rocket performance plugin for WordPress can allow arbitrary PHP execution, and exploitation attempts have been observed. Sites that used an affected feature on a vulnerable version need to update and check for signs of prior compromise.
Automated attacks target WP Rocket
A critical vulnerability, CVE-2026-125812, was discovered in WP Rocket, a commercial caching plugin for WordPress. Its developer issued a security advisory urging users to update.
The CVE record, registered by Patchstack, gives the flaw a CVSS 3.1 score of 9.8. WP Rocket 3.24.2, released by the developer on November 19, 2026, fixes it.
Security company Patchstack reported exploitation attempts. It first observed an attempt at 15:27:11 UTC on November 25.
Manual attempts against a small number of sites expanded into automated attacks. Patchstack says it blocked tens of thousands of malicious requests in one day and believes multiple independent attackers were involved.
The figure counts requests that were blocked. The number of compromised sites is a separate measure. With automated attacks already observed, delaying the update carries substantial risk.
A performance feature did not adequately validate input
The developer says WP Rocket versions 3.15 through 3.24.1 are affected on sites with either of these features enabled:
- LazyLoad for CSS background images
- Self-host Google Fonts, which serves Google Fonts from the site's own server
Patchstack says both features are disabled by default. On affected sites with either one enabled, the flaw could lead to arbitrary PHP code execution.
WP Rocket uses measurements from visitors' browsers to optimize pages on the server. Patchstack attributed the flaw to inadequate validation of information passed to that server-side processing. The resulting risk was unsafe handling and execution of files.
Features designed to improve performance still need to validate external input when they handle files on a server. Visitors can see how quickly a page loads. How the underlying feature handles information is less apparent.
Settings changes can protect sites that cannot update immediately
With an active WP Rocket license, update through the WordPress dashboard and verify that the installed version is 3.24.2 or later.
Sites that cannot update immediately, such as those with an expired license, can apply the workaround. In affected English-language releases 3.24 and 3.24.1, open Image & Media under Page Optimization. For earlier affected releases, open the Media tab.
The developer says turning off both features—LazyLoad for CSS background images and self-hosted Google Fonts—blocks the reported attack path. After saving, verify that both are off and leave them disabled until you install a fixed version.
WP Rocket CVE-2026-125812: Affected configurations
| Affected versions: 3.15–3.24.1 | ||
|---|---|---|
| LazyLoad for CSS background images | Self-hosted Google Fonts | |
| Enabled | Disabled | |
| Enabled | At risk | At risk |
| Disabled | At risk | Reported attack path blocked |
| At risk of arbitrary PHP code execution | ||
| Fixed in 3.24.2 and later | ||
A helper plugin is available for people who manage multiple sites. It disables the affected features and can be obtained from the developer's advisory.
On WordPress Multisite, the helper must be activated individually on each affected subsite. When managing many sites, tracking which have been updated or had their settings changed matters.
A site may already have been compromised before the update
If either feature was used on a vulnerable version, the developer advises asking the hosting provider or security team to look for signs of compromise.
Patchstack also recommends checking historical traffic records and suspicious outbound activity. It advises checking wp-content/wp-rocket-config/, wp-content/uploads/, and the top level of wp-content/ for unfamiliar PHP files. Updating the plugin does not automatically remove files or accounts that attackers created.
WP Rocket CVE-2026-125812: Checking for compromise after updating
| Sites that used LazyLoad for CSS backgrounds or self-hosted Google Fonts on versions 3.15–3.24.1 | |
|---|---|
| Where to check | What to look for |
| Historical traffic logs | Suspicious traffic or destinations |
| wp-content/wp-rocket-config/ wp-content/uploads/ Top level of wp-content/ | Suspicious PHP files |
| Account | Unauthorized additions |
Installing a fixed release protects against further exploitation of this flaw. Finding out what happened before the update requires looking for signs of compromise.
The dashboard version number tells you whether the update succeeded. Assessing whether the site was safe to operate also means examining its state before the update.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
