Threat actors are actively exploiting a newly patched critical security flaw in the WP Rocket caching plugin for WordPress.

The vulnerability, tracked as CVE-2026-125812, is rated 9.8 on the CVSS scoring system. It affects all versions of the plugin prior to version 3.24.2, which was released on November 19, 2026. According to WP Rocket's website, the premium caching plugin is used by more than 5.5 million WordPress sites and over 386,000 customers worldwide.

It has been revealed that CVE-2026-125812 "lets unauthenticated attackers write and execute PHP code on affected sites," Patchstack researcher Dave Jong noted in a report published last week. "It affects WP Rocket versions before 3.24.2 on sites with either LazyLoad for CSS background images or Host Fonts Locally turned on.".

At the heart of the problem lies a small script that the plugin runs in visitors' browsers to measure each page and report the results to a public AJAX endpoint and then optimize the page.

Because the plugin does not validate the reported URLs strictly enough, an attacker can send a crafted report to make the site download content from an attacker-controlled server and save it as a PHP file for subsequent execution.

Sources indicate that "Two optimization features can be abused this way: CSS background lazy loading and local hosting of Google Fonts," Patchstack remarked. "Both are off by default, but both are common on performance-tuned sites.".

Industry observers note that according to the WordPress security organization, the first exploitation attempt was recorded on November 25, 2026, at 3:27 p.m. UTC, with the activity directed against WP Rocket's measurement endpoint. Since then, the activity has escalated into large-scale, automated efforts, with tens of thousands of attempts blocked on November 26, 2026, alone.

The activity has originated from the following IP addresses -.

Wordfence, in its own advisory, stated it has blocked 135 attacks targeting this vulnerability in the past 24 hours.

Patchstack has also shared the following indicators of compromise -.

In a recent development, "The upgrade stops fresh attacks, but it does not remove files an attacker already planted," Patchstack noted. "If a site ran a vulnerable version without protection, check the directories above and review historical logs.".

Discover why SHA pinning alone isn't enough and learn how to close hidden security gaps in your GitHub Actions pipelines.

Learn what 6,000 real-world attacks reveal about MFA weaknesses and how to stop AI-driven phishing and account takeovers.

Get the latest news, expert insights, exclusive resources, and strategies from industry leaders, all for free.

πŸ“Œ Read also:

β†’ Read original article