← All insights

Security alert · 7 min read

WP Rocket CVE-2026-125812: what WordPress website owners should check

WP Rocket has published guidance for CVE-2026-125812, a critical vulnerability affecting WordPress websites running WP Rocket versions 3.15 through 3.24.1 when LazyLoad for CSS background images or Self-host Google Fonts is enabled. Under those conditions, an unauthenticated attacker may be able to run arbitrary code on the website. The developer fixed the issue in version 3.24.2, released on 19 November 2026, and Patchstack reported active automated exploitation attempts beginning on 25 November.

Check the authoritative guidance

Review WP Rocket’s security advisory and mitigation steps and Patchstack’s active-exploitation report . Website owners can also explore Avant IT’s website, backup and cyber security support.

Who needs to act

This alert applies to websites using the paid WP Rocket performance plugin. A WordPress website without WP Rocket is not affected by this specific flaw. If WP Rocket is installed, check the installed version and whether either affected optimisation feature is enabled. Do not rely only on whether the website currently looks normal.

Update to WP Rocket 3.24.2 or later

Use the normal WordPress administration or WP Rocket account process to install version 3.24.2 or a later vendor-supported release. Confirm the version after the update and test important pages, forms, checkout functions and caching. Take an appropriate website backup first, but do not delay an available security update merely to redesign or tune the site.

Temporary mitigation when an update is not immediately available

WP Rocket advises turning off both LazyLoad for CSS background images and Self-host Google Fonts until the plugin can be updated. In current versions these settings are under WP Rocket's image, media or page-optimisation options. Apply the change to every affected site or multisite subsite, save it and verify that both features remain disabled. This is a temporary measure, not a replacement for updating.

An update does not prove a previously exposed site is clean

Updating or disabling the affected settings prevents new exploitation through the documented paths, but it does not remove files, accounts or persistence an attacker may already have created. A site that ran a vulnerable configuration while exploitation was occurring should be reviewed for unexpected administrator accounts, recently changed PHP files, unfamiliar plugins or scheduled tasks, unusual outbound connections and relevant web or security logs.

Preserve evidence before broad cleanup

If suspicious changes are found, record the affected version, settings, timestamps, user accounts and file changes before deleting or reinstalling everything. Preserve available hosting, web-server and security logs. Avoid repeatedly opening suspicious files through the public website, and do not install an alleged emergency fix supplied through an unsolicited email or unfamiliar download page.

Check connected systems and credentials

A compromised website can provide access to information stored in WordPress and may expose configuration secrets or connected services. Review the scope before rotating credentials at random. Prioritise WordPress administrator and hosting access, database credentials, deployment keys and any service credentials actually present on the server. Use a known-safe device and official provider portals for changes.

What ordinary visitors should do

This is primarily an issue for website owners and administrators. Merely visiting a WordPress site that uses WP Rocket does not mean your device or account was compromised. Visitors should respond to evidence such as an unexpected redirect, download, payment prompt or account activity rather than trying to identify a site's plugin version themselves.

When professional help is appropriate

Seek help promptly if the site used an affected version and settings, the version cannot be confirmed, an update fails, security logs show unexpected requests or the website contains unfamiliar code, users or scheduled tasks. Investigation may need to cover the hosting account and connected services as well as WordPress. Restoring a clean backup can be part of recovery, but only after the entry point and the backup's integrity are understood.

Building something useful together

Did this guide help?

If an Avant IT article helped you solve a problem or better understand your technology, you can make an optional $5 contribution towards creating more practical guides. Help keep us awake and typing by shouting the team a coffee! Every guide is created in-house by our passionate team, often in our own time, to share our knowledge and give back to the community.

Your support is completely optional but always appreciated.
$5,000 community goal

Help us build a free guided troubleshooting centre for common email, Wi-Fi, internet, computer and browser problems.

Support the free tools

Ready when you are

Make IT one less thing to worry about.

Start an enquiry 0434 528 511