Cybercriminals take advantage of a serious WP Rocket vulnerability in WordPress to infiltrate websites

Try Our Free Tools!
Master the web with Free Tools that work as hard as you do. From Text Analysis to Website Management, we empower your digital journey with expert guidance and free, powerful tools.

Critical Vulnerability in WP Rocket Plugin Targeted by Cybercriminals

Cyber attackers are currently exploiting a significant security vulnerability, designated as CVE-2026-125812, within the WP Rocket caching plugin, which enables the execution of arbitrary PHP code on WordPress websites.

WP Rocket is a premium plugin intended to enhance website efficiency through various mechanisms, including page caching, CSS optimization, and lazy loading of images.

It has garnered a substantial user base; according to the plugin’s developer, WP Media, it is utilized on over 5.6 million websites by approximately 394,000 customers.

The vulnerability stems from inadequate validation of data transmitted to a public endpoint, enabling unauthenticated attackers to execute PHP code sourced externally.

It is critical to note that the flaw affects WP Rocket versions prior to 3.24.2, specifically when the ‘LazyLoad for CSS background images’ or ‘Host Fonts Locally’ features are activated; however, both functions are disabled by default.

On November 19, WP Media addressed this security flaw by releasing patches and subsequently published an advisory over the weekend, urging users to upgrade to version 3.24.2 or later.

On November 25, the cybersecurity firm Patchstack detected preliminary low-volume, manual exploitation attempts at 15:27 UTC, which rapidly escalated to fully automated campaigns on the subsequent day.

Researchers reported that the attacks specifically targeted both vulnerable features, frequently within a singular request, thereby allowing the exploit to activate if either option was enabled on the compromised site.

“Attackers utilize both feature pathways, sometimes in a single request, ensuring that whichever feature is enabled on a site, one of them executes,” Patchstack stated.

“They host their malicious payloads on exposed IP addresses, wildcard DNS names such as nip.io, and temporary tunnels like trycloudflare.com, along with other potentially compromised WordPress sites.”

Users who are unable to install the latest version of WP Rocket immediately should disable LazyLoad for CSS background images and Self-host Google Fonts by navigating to WP Rocket > Page Optimization > Image & Media > Media tab.

The vendor has also provided a helper plugin designed to assist those overseeing multiple websites in mitigating the risk of exploitation across all sites.

Patchstack further advises listing and blocking the IP addresses of attackers identified during this campaign.

A hooded figure at a laptop with a question mark over their face, set against a backdrop of digital numbers.

Importantly, updating to a secure version will not eliminate previously installed malicious files. Consequently, administrators who had operated the vulnerable version, particularly with either of the exploitable options active, should meticulously examine their logs for any suspicious requests and outgoing connections.

Patchstack has cautioned that large-scale, automated attacks are already underway, with their security platform having intercepted more than 25,000 malicious requests from various attackers.

Source link: Bleepingcomputer.com.

Disclosure: This article is for general information only and is based on publicly available sources. We aim for accuracy but can't guarantee it. The views expressed are the author's and may not reflect those of the publication. Some content was created with help from AI and reviewed by a human for clarity and accuracy. We value transparency and encourage readers to verify important details. This article may include affiliate links. If you buy something through them, we may earn a small commission — at no extra cost to you. All information is carefully selected and reviewed to ensure it's helpful and trustworthy.

Reported By

Souvik Banerjee

I’m Souvik Banerjee from Kolkata, India. As a Marketing Manager at RS Web Solutions (RSWEBSOLS), I specialize in digital marketing, SEO, programming, web development, and eCommerce strategies. I also write tutorials and tech articles that help professionals better understand web technologies.
Share the Love
Related News Worth Reading