If your WordPress site uses the WP Rocket caching plugin, please check it today. A critical security flaw, tracked as CVE-2026-125812, lets an attacker run arbitrary code on an affected site without needing to log in. Security firm Patchstack reports that automated attacks targeting this vulnerability are already underway, so this isn’t one to leave until next week.

Who’s affected

Your site is at risk if both of these are true:

  • It’s running WP Rocket version 3.15 up to and including 3.24.1.
  • At least one of two features is turned on: LazyLoad for CSS background images or Self-host Google Fonts.

If you’re on an affected version but neither feature has ever been enabled, the documented attack paths don’t apply to you. We’d still recommend updating.

The fix: update to WP Rocket 3.24.2 or newer

WP Rocket released version 3.24.2 on November 19, 2026, which closes the hole. If your license is active, log in to your WordPress dashboard, go to Plugins, and click Update now under WP Rocket. Then confirm that the version number shows 3.24.2 or higher.

Can’t update right away?

If your WP Rocket license has expired, or you need a little time before updating, you can block the known attack paths by turning off the two vulnerable features:

  1. In WordPress, go to WP Rocket → Page Optimization → Image & Media (on versions older than 3.24, this is the Media tab).
  2. Switch off both LazyLoad for CSS background images and Self-host Google Fonts.
  3. Save, then double-check that both settings are still off.

Leave them disabled until you’ve installed 3.24.2 or later. This is a stopgap. Updating the plugin is still the real fix.

Managing several sites?

WP Rocket has published a small helper plugin that switches off both features automatically, which is handy if you look after many WordPress installs. It can be deployed in bulk with WP-CLI:

wp plugin install ./wp-rocket-mitigate-cve-2026-125812.zip --activate

On WordPress Multisite, install it once and then activate it on each affected subsite. You’ll find the download link and Multisite instructions in WP Rocket’s official advisory.

What if my site was already exposed?

Updating or changing settings stops new attacks, but it won’t undo anything an attacker may have already done. If either feature was enabled while your site ran a vulnerable version, it’s worth checking for signs of compromise, such as unfamiliar admin users, unexpected files, or modified plugin and theme code. Patchstack has published detection guidance that walks through what to look for.

Similar Articles

Wordpress Hosting

Experience the difference with the fastest WordPress hosting platform.

Elastic Hosting

A flexible managed hosting solution that will grow with you and your needs grow.

Cloud Servers

Your dedicated cloud servers that are managed by us or managed by you.

Made InCanada
Made by Canadians,
for Canadians

Never worry about compliance again. Our servers are hosted directly on Canadian soil, and support is given by a 100% Canadian team.

We Start,
Where Others Stop.

If you've been burned by terrible hosting services before, we get you. We want every client to feel important and fully taken care of, and we'll spend the time it takes to solve any problem that arises.

Trusted by Clients Across All Industries

Don't take our word for it - let our happy clients do the talking. See More

Full Host did an amazing job of migrating my site seamlessly onto their server. My only regret was not switching my site over to them sooner. Now it is performing great, images are uploading way faster than ever before.

" Vancouver Sofa and Patio - Jerry Schmidt

Two thumbs up for Fullhost! Agents reply to me fairly quickly or at least let me know they received the ticket and are looking into it. Kudos to the support team as they have always given me exactly what I need without delays.

" Universal Staffing Inc. - Anthony Calvano

FullHost is an absolute pleasure to work with, and their customer service is exceptional. Whenever I have questions or need adjustments, they are there to help, quickly, efficiently, with answers and insights.

" Mooseworld Inc. Norine Leibel

With coast to coast coverage,
We help you serve the world.

Whether your audience is located in Europe, Asia, Africa, or Australia, provide them with lightening speed!

FullHost's data centers are located in Toronto and Vancouver to ensure worldwide quality and speed.

Get in Touch
We Trust Only The Best Tech to Support You

FullHost operates with the most innovative technology to bring you unparalleled levels of hosting services.