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.
Get IT help Security alert · 7 min read
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.

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.Help us build a free guided troubleshooting centre for common email, Wi-Fi, internet, computer and browser problems.
Support the free toolsReady when you are