If WP Rocket is installed, check its version in WordPress now. Version 3.24.2 is the first release that fixes CVE-2026-125812. The vendor says versions 3.15 through 3.24.1 are affected when either of two specific settings is enabled. If you cannot update yet, switch off both settings and leave them off until you patch.
WP Rocket’s November 27 public advisory says the flaw can allow code to run on affected sites without a login. It cites Patchstack’s reports of automated exploitation attempts. That makes the update time-sensitive. It does not mean every WP Rocket installation, or your site in particular, was compromised.
Check your version and both settings
In WordPress, go to Plugins > Installed Plugins and find the version next to WP Rocket. If a host manages your plugins or you use WordPress Multisite, check with the host or network administrator. Verify the installation that actually serves your visitors, not just a staging copy.
| What you find | What to do |
|---|---|
| WP Rocket 3.24.2 or later | No settings workaround is needed for this flaw. If a vulnerable version previously ran with either setting on, ask your host to review that period. |
| WP Rocket 3.15 to 3.24.1 with either setting on, or with settings you cannot confirm | Prioritize an official update. If you cannot install it yet, follow the two-setting workaround below. If you cannot verify the workaround, contact whoever manages the site. |
| WP Rocket 3.15 to 3.24.1 with both settings off | The vendor’s documented exposure condition is not met now. Leave both off and update. Check whether either setting was enabled before. |
| WP Rocket is not installed, or the version is older than 3.15 | This advisory does not list that installation as affected. An older version outside the range is not necessarily supported or safe against other issues. |
Example: A store on 3.23.5 with CSS background LazyLoad off but local Google Fonts on still meets the advisory’s condition. If it cannot update that day, the maintainer should turn off local font hosting as well, save, and reopen the settings to confirm that both controls are off.
Update WP Rocket from an official source
- Confirm that the site has a usable recent backup and record the current version. If you cannot confirm a recovery point promptly, apply the workaround rather than leaving both the update and mitigation for later.
- On the Installed Plugins screen, use Update now next to WP Rocket. If the update is missing, use Dashboard > Updates > Check Again and follow the official WP Rocket update instructions. Use the vendor account or your host’s approved package source, not an update ZIP from an unsolicited message.
- Reload the Plugins screen and verify the installed number. 3.24.2 is the minimum fixed version, not necessarily the version to seek out. The public changelog lists 3.24.2 on November 19 and 3.24.3 on November 26. Version 3.24.3 includes the fix; enabling its opt-in AI Assistant is not required.
This is a WP Rocket plugin update. Updating WordPress core or clearing the cache does not install it. Our safe plugin update guide covers recovery planning and testing a change without replacing newer business data.
Can’t update? Turn off both affected settings
- In WP Rocket 3.24 and later, open WP Rocket > Page Optimization > Image & Media. In older versions, go to the Media tab. The vendor’s dashboard guide shows where those options moved.
- Turn off LazyLoad for CSS background images and Self-host Google Fonts. This is not an instruction to disable ordinary image LazyLoad or every performance feature.
- Save, reopen the settings and confirm both are off. Keep them off until you have verified version 3.24.2 or later. For multiple sites, record the installed version, both settings and the person responsible for follow-up on each live installation. A single dashboard check does not certify the rest.
Check a page with a background image and a page that uses your usual brand fonts while signed out. Depending on how your theme loads fonts, switching off WP Rocket’s local font hosting can restore requests to an external font provider. If local delivery is a requirement, leave the affected switch off on the old version and have your maintainer arrange the patch or another way to serve fonts locally.
Check that the site works and review any earlier exposure
After patching, check a key landing page on mobile and desktop, confirm the header and fonts render, and walk through the main contact or checkout path without sending a real enquiry or placing a live order. Re-enable an intentionally disabled setting only on a verified fixed version, one at a time, and repeat the relevant check. If something breaks, stop and leave the affected options off while your host or maintainer diagnoses it. Do not blindly roll back to a vulnerable version with either feature enabled.
A patch closes the reported flaw; it does not undo a compromise. If either option was on while a vulnerable version was live, ask your host or security provider to review that period. Preserve logs and recent backups and share the dates, version and settings privately. Unexpected administrator accounts, redirects or unauthorized changes warrant a recovery investigation. If you see those signs, review Webless’s hacked WordPress site recovery service. An advisory email by itself is not a reason to buy a cleanup.
This is separate from the August WP Rocket credential alert. The older guide’s version number does not tell you whether this November issue is fixed.