December 2, 2026
Your Speed Plugin Is Now a Backdoor: Inside the WP Rocket Flaw Hackers Are Mass-Exploiting onβ¦
A caching plugin has one job: make a website faster. It is not supposed to let a complete stranger upload their own code to your server andβ¦
By Mishfahkhan
6 min read
A caching plugin has one job: make a website faster. It is not supposed to let a complete stranger upload their own code to your server and run it. Yet that is exactly what WP Rocket did for every version before 3.24.2. A visitor who never logs in, never fills in a form, never even clicks anything suspicious can trick the plugin into downloading a file from an attacker-controlled server and saving it as PHP β code the server then happily executes. The flaw is CVE-2026β125812, it scores 9.8 out of 10, and it is being exploited right now, at scale. Patchstack recorded the first exploitation attempt on 25 November 2026. By the next day, the attacks were fully automated, with tens of thousands of blocked attempts in a single day. WP Rocket runs on more than 5.5 million WordPress sites. If yours is one of them, this is the article to read before lunch.
What happened
WP Rocket is a premium caching and performance plugin for WordPress, made by WP Media. Its own website says it is used on more than 5.5 million sites, with over 386,000 paying customers. It is the kind of plugin site owners install once and forget about β it sits quietly in the background, making pages load faster, while nobody thinks about it again. That invisibility is part of the problem.
The flaw was reported on 4 November 2026 by a researcher credited as Vorelito, through the Patchstack Bug Bounty Program. WP Media shipped the fix in version 3.24.2 on 19 November 2026. Patchstack publicly disclosed the vulnerability on 23 November, the CVE record was published on 25 November β and on that same day, at 3:27 p.m. UTC, Patchstack recorded the first exploitation attempt against the vulnerable endpoint. The gap between disclosure and exploitation was two days. The gap between the patch and the first attack was six days.
What followed was not a single attacker probing cautiously. Within 24 hours the activity had escalated into large-scale automated campaigns: Patchstack blocked more than 25,000 malicious requests, and on 26 November alone it recorded tens of thousands of blocked attempts. Wordfence, independently, said it had blocked 135 attacks in a single 24-hour window. The Hacker News reported the story on 1 December 2026, and by then several independent operators were running campaigns, hosting their payloads on bare IP addresses, wildcard DNS services, temporary Cloudflare tunnels, and other WordPress sites that were probably already compromised. This is no longer one exploit. It is a feeding frenzy.
There is one important piece of nuance, and it matters for working out whether your site is exposed. The attack path only opens when at least one of two optional performance features is switched on: LazyLoad for CSS background images, or Host Fonts Locally (self-hosting Google Fonts). Both are off by default. But both are exactly the kind of setting a performance-conscious site owner switches on β they are common on sites that have been tuned for speed scores. So the exposed population is not all 5.5 million sites, but it is a large slice of the most actively managed ones.
How the attack works
To understand the flaw, you need to know what WP Rocket does to make pages faster β and where it trusted the wrong messenger.
WP Rocket runs a small script in every visitor's browser. The script measures the page β how it renders, what it needs β and reports the results back to the site through a public AJAX endpoint, so the plugin can optimise the page. That endpoint is public by design: it has to accept reports from anonymous visitors, because every visitor's browser is supposed to send them. The problem is what the plugin did with those reports.
According to Patchstack researcher Dave Jong, the plugin did not validate the reported URLs strictly enough. An attacker can send a crafted report to that same public endpoint β no login, no user interaction, no special network position β and make the site download content from a server the attacker controls and save it as a PHP file inside the website. The attacker then simply requests that file in a browser, and the server executes it. That is the full chain: a fake performance report, to a downloaded PHP file, to remote code execution. The CVE record classifies the underlying weakness as path traversal, CWE-22, with a CVSS 3.1 score of 9.8 β network-accessible, low complexity, no privileges required, no user interaction, and full impact on confidentiality, integrity and availability.
Once an attacker can run PHP on a WordPress server, the site is theirs in every way that matters. They can read the database credentials stored in wp-config.php, dump customer names, email addresses and payment metadata, steal WordPress administrator credentials, plant further backdoors, and use the compromised site to attack the next one β which is exactly how the payload-hosting network described above grows. The plugin's job was to shave milliseconds off page loads. Instead, for unpatched sites, it became the front door.
And here is the detail that makes this worse than an ordinary patch-now story. The update stops new attacks. It does nothing about what already came through the hole. Patchstack's guidance is explicit, and WP Media says the same: if an attacker planted a PHP file before you updated, updating will not remove it. The backdoor stays, quietly, until someone goes looking for it.
Who is affected
The test is simple: if your WordPress site runs WP Rocket older than 3.24.2, and either LazyLoad for CSS background images or Host Fonts Locally is enabled, you are vulnerable. WP Media's advisory puts the affected releases at 3.15 through 3.24.1. Version 3.24.2, released 19 November 2026, contains the fix, and 3.24.3, released 26 November, is the latest release.
WordPress powers an enormous share of the web, and WP Rocket is one of its most popular premium plugins β which is precisely why this flaw is being exploited at industrial scale rather than by a single targeted actor. Attackers do not need to know anything about your site. They scan the internet for the vulnerable endpoint, fire the crafted report, and move on to the next address. Your site does not need to be important. It only needs to be unpatched, with one of those two settings switched on.
One more uncomfortable fact: the fix has been available since 19 November, and the exploitation began on 25 November. That is the pattern of modern WordPress exploitation β a patch ships, a disclosure follows, and within days the vulnerability is weaponised against every site that has not updated. The window is not weeks any more. It is days, and it is closing.
What to do right now
- Update WP Rocket to 3.24.2 or later β today. This is the single most important step. The latest release is 3.24.3. If you manage several sites, update all of them; if you use Multisite, check every subsite. Confirm the version afterwards β with WP-CLI, wp plugin get wp-rocket--field=version tells you in seconds.
- Assume an unpatched site may already be compromised β and check before you relax. Updating closes the hole; it does not evict an attacker who is already inside. Look for PHP files you did not put there, especially in wp-content/uploads/, wp-content/wp-rocket-config/ and the top of wp-content/, including files matching the wp-media-*.php pattern Patchstack flagged. Check for new administrator accounts, unfamiliar plugins, and unexpected outbound connections. If you find anything, treat it as a full incident: clean the site, rotate database and admin credentials, and review the logs.
- If you cannot update immediately, switch off the two features. Disabling LazyLoad for CSS background images and Host Fonts Locally closes the attack path while you arrange the update. It costs you a little speed. It is worth it.
- Block the known attacker infrastructure at your firewall. Patchstack published the source IP addresses behind the campaigns β including 103.235.74.71, 157.245.122.230, 152.89.170.194, 180.232.236.101 and 103.235.74.72 β and the indicators of compromise tied to the activity. Block them now, but expect new ones: several independent operators are involved, and they rotate infrastructure.
- Audit every other plugin the same way. WP Rocket is not the first popular WordPress plugin to be mass-exploited within days of disclosure, and it will not be the last. Make a list of the plugins on each site, check which ones have updates pending, and turn on automatic updates for anything you do not actively manage. The plugins you forgot about are the ones attackers count on.
The bigger picture
Two things make this story worth more than a patch notice. The first is the speed of the weaponisation. Six days from patch to first exploitation, two days from public disclosure to the first attack, and under 24 hours from the first attempt to fully automated campaigns blocking tens of thousands of requests a day. That is the new normal for WordPress flaws: the disclosure itself is the starting gun, and the only sites that stay safe are the ones that updated before the gun went off. A patch that sits uninstalled for a week is barely a patch at all.
The second is what the flaw says about trust. WP Rocket's measurement endpoint trusted reports from anonymous browsers because that was its job β every visitor's browser was supposed to report back. The vulnerability was not a missing password or a broken login. It was a feature working as designed, with one validation step missing, in a place nobody thought to look. Performance tooling, analytics beacons, optimisation scripts β the small helpers that run on millions of sites β are now prime targets precisely because they are everywhere and nobody audits them. If a plugin touches every page load on 5.5 million sites, a single missing check in its reporting endpoint is a mass-compromise vulnerability waiting for its disclosure date.
Yesterday's story was a file server that signed its admin cookies with a predictable random number. Today's is a speed plugin that lets strangers write PHP onto your server. Different products, same lesson: the software you installed once and forgot about is the software attackers are scanning for right now.