Threat Intelligence

Critical WP Rocket Flaw Is Under Active Attack: Update WordPress Sites Now

The Hacker News · 1 Dec 2026
Key Takeaway If your business website uses WP Rocket, update to version 3.24.2 or later today and check the site for files planted before you patched.

Attackers are actively exploiting a newly patched critical vulnerability in WP Rocket, a popular caching plugin for WordPress. The flaw, tracked as CVE-2026-125812, is rated 9.8 on the CVSS scale. It affects every version before 3.24.2, which was released on November 19, 2026. WP Rocket says its premium plugin is used by more than 5.5 million WordPress sites.

Patchstack researcher Dave Jong explained that the flaw lets unauthenticated attackers write and execute PHP code on affected sites. The problem sits in a small script the plugin runs in visitors' browsers to measure each page and report results to a public AJAX endpoint. Because the plugin does not check the reported URLs strictly enough, an attacker can send a crafted report that makes the site download content from a server the attacker controls and save it as a PHP file, which can then be run.

Not every site is exposed. Sites are vulnerable when either LazyLoad for CSS background images or Host Fonts Locally is turned on. Patchstack notes both features are off by default, but both are common on performance-tuned sites.

Exploitation moved quickly. Patchstack recorded the first attempt on November 25, 2026, at 3:27 p.m. UTC, aimed at the plugin's measurement endpoint. By November 26 the activity had grown into large-scale, automated attacks, with tens of thousands of attempts blocked in that day alone. Wordfence also said it blocked 135 attacks against the flaw in a 24-hour period.

Updating is essential but may not be enough. Patchstack warns that the update stops new attacks but does not remove files an attacker has already planted. Sites that ran a vulnerable version without protection should check for suspicious files and review historical logs.

Why it matters

A public endpoint that accepts unauthenticated input became a route to remote code execution, so the usual assumption that default-off features limit exposure fails on sites tuned for speed. Attacks began within days of the patch, so any site that delayed updating may already be compromised. Patching alone is now insufficient for those owners, who must also hunt for planted PHP files.

What to do

  • Update WP Rocket to version 3.24.2 or later on every WordPress site you run.
  • Check whether LazyLoad for CSS background images or Host Fonts Locally is enabled to gauge exposure.
  • Review the directories listed in Patchstack's indicators of compromise for unexpected PHP files.
  • Examine historical logs for requests to the WP Rocket measurement endpoint since November 25, 2026.

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.