WP Rocket Vulnerability Is Being Exploited in Active Attacks
The WP Rocket vulnerability is being exploited in active attacks against WordPress sites. Tracked as CVE-2026-125812, the flaw has a CVSS score of 9.8, a rating used to show how serious a security weakness is. It affects every WP Rocket version before 3.24.2, which was released on November 19, 2026.
WordPress is a platform for building and managing websites. WP Rocket is a premium caching plugin, meaning software that stores prepared copies of pages to help them load faster. According to WP Rocket's website, it is used by more than 5.5 million WordPress sites and over 386,000 customers worldwide. The vulnerability allows unauthenticated attackers, people who have not logged in, to write and execute PHP code on an affected site. PHP is a programming language commonly used to generate website pages.
Patchstack researcher Dave Jong described the problem in a report published last week. The flaw affects sites running a vulnerable WP Rocket version when either LazyLoad for CSS background images or Host Fonts Locally is enabled. Lazy loading delays the loading of certain page elements until they are needed, while the second feature stores Google Fonts on the website instead of loading them from elsewhere. Both features are disabled by default, but Patchstack said they are common on sites tuned for performance.
The attack relies on a small script that runs in a visitor's browser. The script measures the page and sends the results to a public AJAX endpoint, which is an internet address that accepts requests from a webpage, before the plugin uses the information to optimise the page. WP Rocket does not validate the reported URLs strictly enough. An attacker can therefore send a specially crafted report that makes the site download content from an attacker-controlled server and save it as a PHP file. That file can then be executed on the website.
Patchstack said both CSS background lazy loading and local Google Fonts hosting can be abused in this way. The first exploitation attempt it recorded took place on November 25, 2026, at 3:27 p.m. UTC, and targeted WP Rocket's measurement endpoint. The activity later grew into automated campaigns, with tens of thousands of attempts blocked on November 26 alone. The activity originated from these IP addresses: 103.235.74.71, 157.245.122.230, 152.89.170.194, 180.232.236.101, 103.235.74.72, 201.79.120.217, 112.78.154.32, 167.71.75.155, 43.163.8.253 and 51.79.199.209.
Wordfence said in its own advisory that it blocked 135 attacks targeting the vulnerability during the previous 24 hours. Patchstack identified several possible signs of compromise. These include rocket_beacon requests from clients that never loaded the page they claim to report on, and outbound connections from the web server to unfamiliar hosts, nip.io domains, temporary trycloudflare.com tunnels or other potentially compromised WordPress sites.
Site owners should also look for unexpected PHP files with names beginning wp-media- and ending in .php. Patchstack specifically identified the wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ directories as places to check. Updating WP Rocket prevents new exploitation through this flaw, but Patchstack warned that the update does not remove files an attacker may already have planted. Sites that ran a vulnerable version without protection should review those directories and examine historical logs.
For readers who run WordPress websites, AEU Hosting provides managed WordPress hosting secured end to end. That is relevant here because the incident involves both a WordPress plugin and the wider security of the hosted site, but updating WP Rocket and checking potentially affected files remain necessary steps for administrators.