Home / Blog / Critical WordPress WP Rocket Vulnerability Exploited Days…
Tech News

Critical WordPress WP Rocket Vulnerability Exploited Days After Patching

The flaw, tracked as CVE-2026-125812 with a CVSS score of 9.8, allows unauthenticated attackers to execute arbitrary code on affected sites — no login required.

By Dillip Chowdary • Dec 05, 2026 • Source: SecurityWeek

Critical WordPress WP Rocket Vulnerability Exploited Days After Patching
Image: SecurityWeek

At a glance

Product
WP Rocket WordPress plugin
Affected versions
3.15 through 3.24.1
Fixed version
3.24.2 (released November 19, 2026)
CVE
CVE-2026-125812, CVSS 9.8
Exploitation start
November 25, 2026
Install base
5.6 million+ WordPress sites

A critical vulnerability in the WP Rocket WordPress plugin was under active attack within six days of a patch being released, according to SecurityWeek's report. The flaw, tracked as CVE-2026-125812 with a CVSS score of 9.8, allows unauthenticated attackers to execute arbitrary code on affected sites — no login required.

WP Rocket is a premium caching and performance plugin used on more than 5.6 million WordPress sites. The vulnerability existed in versions 3.15 through 3.24.1 due to insufficient validation of reported URLs during page optimization.

Version 3.24.2, released November 19, contained the fix. Exploitation began six days later on November 25, and within 24 hours campaigns had turned automated, with tens of thousands of blocked attempts recorded on November 26 alone.

01CVE-2026-125812 and the URL validation gap

The flaw stems from how WP Rocket's browser-side script measures pages and reports results back to the server. Because the plugin did not sufficiently validate URLs in those reports, an attacker could send a crafted request that caused the target site to fetch attacker-controlled content and save it as a PHP file on the server. That file is then executed, achieving code execution without any authentication.

The attack only works when either the LazyLoad for CSS background images feature or the Self-host Google Fonts feature is enabled. Both are shipped disabled by default, but site owners frequently enable them to boost performance scores.

02Tens of thousands of blocked attempts on day two

WordPress security firm Patchstack detected the first exploitation attempts on November 25 and observed the activity scale rapidly. "Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone," the company noted.

Patchstack tracked several independent operators running distinct attack styles. Some attackers sent one identical payload to site after site.

One cluster sent byte-identical requests from four residential IP addresses, indicating a rotating proxy pool. The ten most active IP addresses accounted for roughly half of all blocked attempts since November 25.

03Payloads hosted across diverse infrastructure

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

Observed payloads were hosted on bare IP addresses, wildcard DNS names, and temporary Cloudflare tunnels. Patchstack also identified potentially compromised WordPress sites being used as payload hosts, meaning other vulnerable installations may already be part of the attack infrastructure.

Exploitation attempts targeted either the LazyLoad CSS background feature path, the Self-host Google Fonts path, or both simultaneously. This dual-path targeting increased the likelihood of success on sites with one or both features enabled.

04Immediate patch and post-breach file removal

Administrators on WP Rocket 3.15 through 3.24.1 should update to 3.24.2 immediately through the WordPress dashboard or manually. The update closes the vulnerability but does not remove files or accounts the attackers may have created on sites that were compromised before patching. After updating, administrators should audit for unexpected PHP files and unfamiliar user accounts in the wp-admin panel.

Sites with expired WP Rocket licenses, or those unable to update immediately, should disable the LazyLoad for CSS background images and Self-host Google Fonts features to cut off both attack paths. Patchstack has released a mitigation helper plugin for organizations managing multiple sites that cannot all be updated at once.

05Restricting feature access as a standing control

For WP Rocket deployments that cannot be patched on the same day a vulnerability is disclosed, limiting the attack surface at the feature level is an effective short-term mitigation. Neither LazyLoad for CSS backgrounds nor Self-host Google Fonts is enabled by default, so sites that have never changed those defaults were not vulnerable to this specific exploit path.

Patchstack's data shows that this class of vulnerability — a trusted measurement script with insufficient server-side validation — can move from patch release to mass exploitation in under a week. Teams running large WordPress fleet installations should consider implementing automated update enforcement, particularly for plugins with tens of millions of combined installs.

Sites compromised before updating should check for new user accounts with administrator privileges created after October 1, 2026, since attackers who achieve code execution commonly establish backdoor admin accounts for persistent access. Standard WordPress security plugins that monitor file integrity can flag unexpected PHP files in plugin and uploads directories.

Frequently asked questions

What is CVE-2026-125812 in WP Rocket?

It is a critical authentication bypass and code execution vulnerability (CVSS 9.8) in WP Rocket versions 3.15 through 3.24.1 that allows attackers to upload and execute malicious PHP files without logging in.

Which WP Rocket features need to be active for the exploit to work?

Either LazyLoad for CSS background images or Self-host Google Fonts must be enabled. Both are disabled by default but are commonly turned on to improve performance scores.

Does updating to 3.24.2 clean up an already-compromised site?

No. The update closes the vulnerability but does not remove PHP files or user accounts attackers created before patching. Administrators should audit for unexpected files and new users after updating.

How fast did attackers move after the patch dropped?

Exploitation began six days after the November 19 patch release. By November 26, automated campaigns were generating tens of thousands of blocked attempts per day.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →