Attackers are exploiting a WP Rocket flaw to take over WordPress sites

By George Bailey   Published: 12/01/26   3 min read

WP Rocket is one of the most popular paid plugins for making WordPress sites load faster. Its maker, WP Media, says it runs on more than 5.6 million sites. Attackers are now using a critical flaw in it to run their own code on websites, no login needed.

Get the free 5-minute weekday brief. Scam alerts you can act on, major breaches, and what to do next — join 1,600+ readers.

Plus get our free Scam Survival Kit (PDF). Unsubscribe anytime.

The fix has been out since November 19. The catch: sites with an expired WP Rocket license may not be able to install it.

Attackers are using a WP Rocket flaw to plant code on WordPress sites without logging in. Update to 3.24.2 today, or switch off two optimization settings until you can.

Attackers are exploiting a WP Rocket flaw on WordPress sites

Here is what WP Media and the WordPress security firm Patchstack have confirmed:

The flaw is not in CISA’s Known Exploited Vulnerabilities list as of November 30. CISA’s list mostly tracks flaws that matter to federal agencies; Patchstack’s attack data is the confirmation here.

Why a paid speed plugin puts small business sites at risk

Plenty of small businesses, shops, churches and bloggers run WordPress with WP Rocket installed by a web designer years ago. Nobody may be watching the license or the update screen, and an expired license is exactly where updates stall.

A site taken over this way can be used to steal visitor data, show spam or malware, or host attack files. Patchstack says attackers already use other hacked WordPress sites to host their payloads.

Update WP Rocket to 3.24.2, then look for planted files

For IT teams: CVE-2026-125812 (CVSS 9.8 from the CNA; NVD status Deferred). Exploitation CONFIRMED by Patchstack; not in CISA KEV as of catalog 2026.11.30. Fixed in 3.24.2; affected 3.15 to 3.24.1. Look for POST /wp-admin/admin-ajax.php with action=rocket_beacon from clients that never loaded the page, outbound requests to nip.io names or trycloudflare.com tunnels, and unexpected PHP files such as wp-media-*.php in wp-content/, wp-content/uploads/ or wp-content/wp-rocket-config/.

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].