Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Critical WordPress WP Rocket Vulnerability Exploited Days After Patching

Insufficient validation allows attackers to cause a website to download a malicious payload, leading to unauthenticated code execution.

WordPress vulnerability exploited

Hackers started exploiting a critical-severity vulnerability in the WP Rocket WordPress plugin less than a week after patches were rolled out, WordPress security firm Patchstack warns.

A premium caching and performance optimization plugin designed to speed up websites, improve page scores, and reduce server loads, WP Rocket is used on more than 5.6 million sites.

It relies on a script in the visitors’ browsers to measure pages and report the results, but also writes cached files into the web root.

The exploited security defect, tracked as CVE-2026-125812 (CVSS score of 9.8), exists because, in versions 3.15 through 3.24.1, the plugin did not sufficiently validate reported URLs during page optimization.

An attacker could exploit the bug via a crafted report to cause the target site to download attacker-controlled content and save it as a PHP file. The code would then be executed on the server, leading to unauthenticated code execution.

CVE-2026-125812 can only be triggered on deployments with the LazyLoad for CSS background images or the Self-host Google Fonts feature enabled. The plugin ships with both disabled by default, but they are typically enabled to boost site performance.

Advertisement. Scroll to continue reading.

WP Rocket version 3.24.2 was released on November 19 with patches for the vulnerability. In-the-wild exploitation started six days later, on November 25, Patchstack says.

“Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone,” the company notes.

Patchstack has observed exploitation attempts targeting either or both feature paths and payloads hosted on bare IP addresses, wildcard DNS names, temporary Cloudflare tunnels, and potentially compromised WordPress sites.

“Several independent operators are active. Some send one identical payload to site after site; one cluster sent byte-identical requests from four residential IP addresses, a sign of a rotating proxy pool. Since November 25, the ten most active addresses accounted for roughly half of all blocked attempts,” Patchstack notes.

WordPress website owners and administrators are advised to update their WP Rocket installations to the latest version and then check for potential exploitation attempts. The update does not remove the files or accounts the attackers created on sites compromised before patching.

On sites with expired WP Rocket licenses or that cannot be updated immediately, administrators should disable the LazyLoad for CSS background images and Self-host Google Fonts features, which mitigates the attack paths. A mitigation helper plugin is available for organizations managing multiple sites.

Related: ‘4HTTP2SHELL’ Cacti Vulnerability Exploited in Attacks

Related: Hex Package Manager Warns of Potential Data Breach

Related: Mitel MiCollab Zero-Days Exploited in Suspected AI-Assisted Attacks

Related: Drupal Installer Patch Left a Gap Attackers Are Already Exploiting

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.