WP Rocket flaw exploited: 5.5 million WordPress sites at risk

03.12.2026, Thursday

A CVSS 9.8 flaw in the popular WP Rocket caching plugin has been used in mass attacks since 25 November. Version 3.24.2 contains the fix.

A critical flaw in WP Rocket, one of the most widely deployed caching plugins for WordPress, has been under active attack since the last week of November. Tracked as CVE-2026-125812 and rated 9.8 out of 10 on the CVSS scale, it lets an unauthenticated attacker write and execute PHP code on an affected site.

The weakness sits in a small script the plugin runs in visitors' browsers to measure page performance. According to Patchstack researcher Dave Jong, the plugin does not validate the URLs that script reports back to a public AJAX endpoint strictly enough. A crafted request can make the site fetch content from an attacker-controlled server, save it as a PHP file and run it.

Every release before version 3.24.2 is affected; the fixed version shipped on 19 November 2026. Not every installation is exposed, though. Exploitation requires either LazyLoad for CSS background images or Host Fonts Locally to be switched on. Both are off by default, but both are common on performance-tuned sites.

Why it matters

WP Rocket reports on its own press page that it runs on more than 5.5 million WordPress sites. Patchstack recorded the first exploitation attempt on 25 November 2026 and blocked tens of thousands of automated attempts on 26 November alone. Wordfence reported blocking attacks against the same flaw over the same period.

This is a mass-scanning campaign, not a targeted one. Attackers sweep every reachable WordPress site automatically, so a low-traffic or little-known site is no safer than a popular one. A compromised site can mean leaked customer data, malware served to visitors, spam pages that destroy search reputation, or a foothold used to reach other sites on the same server.

What it means for businesses in Türkiye

A large share of corporate websites run by small and medium-sized businesses in Türkiye sit on WordPress, and site maintenance is often treated as a one-off web design project. Who applies plugin updates, and how often, is frequently left undefined.

There is a legal dimension too. If your site carries a contact form, an application form or any membership function, the data collected there is personal data under Law No. 6698. Unauthorised access to it triggers a breach notification duty to the Turkish data protection authority, and failing to put appropriate technical and organisational measures in place can lead to an administrative fine.

What Kamer Bilişim recommends

  • Update WP Rocket to 3.24.2 or later today. If you cannot update immediately, turn off LazyLoad for CSS background images and local font hosting in the plugin settings; that removes the attack surface in the meantime.
  • Treat the update as step one, then look backwards. As Patchstack points out, patching stops new attacks but does not delete files an attacker already planted. Review wp-content/, wp-content/uploads/ and wp-content/wp-rocket-config/ for unexpected PHP files, and check your logs for outbound connections to unfamiliar hosts.
  • Turn site maintenance into a process. Weekly plugin and core updates, automated backups stored away from the site itself, and virtual patching at the WAF layer. With those three in place, an incident like this becomes a routine maintenance task rather than an emergency.

If you do not know which versions your corporate website is running, or whether your backups can actually be restored, we can check it as part of the maintenance services we deliver on site and remotely across Istanbul's Anatolian side. Reach us through our contact page.

Source: The Hacker News, Patchstack, Tenable (CVE-2026-125812)

Source: The Hacker News

Message us on WhatsApp