WP Rocket Security Update: Two Settings to Check After CVE-2026-125812

Jake at a laptop beside the headline WP Rocket security update.



If your WordPress site uses WP Rocket, open Plugins > Installed Plugins and check its version. WP Media identifies versions 3.15 through 3.24.1 as affected by CVE-2026-125812 when either of two optional settings is enabled. Install the latest release available to you and confirm that the version shown is at least 3.24.2. If one of the settings was on before you updated, there is a second job: check whether anyone changed the site during that time.

Which sites were exposed?

The two settings are LazyLoad for CSS background images and Self-host Google Fonts (also called Host Fonts Locally). Both are off by default. On affected versions, enabling either could allow someone without a WordPress account to run code on the site. If someone else manages performance settings for you, ask them to check each installation, including sites that share a license.

WP Media released the fix on November 19. Patchstack recorded its first attack attempt on November 25 and observed automated campaigns the next day. Those observations establish that attackers were trying the flaw. They cannot tell you whether your own site was compromised. WP Media security advisory · Patchstack findings and detection guidance

How to update or apply the temporary workaround

  1. With an active license, select Update now beside WP Rocket in the Plugins screen. Reload the screen and read the installed version. If the update is missing, follow WP Rocket’s update guide.
  2. If the update has to wait, open WP Rocket, then Page Optimization and Image & Media. In releases before 3.24, use the Media tab. Switch off both settings named above, save, then reopen the settings to confirm. Leave both off until you install the fix.
  3. If you manage several sites, WP Media offers a mitigation helper in its advisory. Verify the result on each site. On WordPress Multisite, activate the helper individually on each affected subsite.

What to check if a setting was enabled

Even if the dashboard shows a patched version today, an unauthorized file or administrator account can survive the update. Save a copy of access logs and ask your host or incident responder to review the period when the site ran the affected configuration. If you cannot reconstruct the old settings, tell them that too.

Patchstack recommends checking for unexpected PHP files in the uploads directory, the WP Rocket configuration directory and the top level of wp-content. Compare unfamiliar files against a known-good copy and review unusual outbound connections around the same time. A filename alone cannot establish what happened. Preserve suspicious files for examination without opening them through the website.

As part of a wider recovery review, check administrator accounts, recently installed plugins and scheduled tasks. If you confirm a compromise, work with your host to contain it, recover from a known-clean backup, apply the fix before reopening the site, invalidate sessions and rotate affected credentials from a clean device.

Make the next plugin update easier

Back up both files and the database, and test a restore. Assign someone to check paid plugins when a license expires or an update stops appearing. Give administrator access only to people who need it. For compatible plugins, consider automatic updates and check that they succeed. WordPress automatic update guide · WordPress security handbook

If you manage WordPress on your own server, our WordPress VPS setup guide covers the initial deployment. Include plugin updates and recovery checks in the site’s ongoing maintenance plan.

You might also like

More Similar Posts