Act nowVulnerabilities

WP Rocket flaw exploited since 25 November: attackers can plant PHP on WordPress sites with two common settings on; update to 3.24.2 or later and check for stray PHP files (CVE-2026-125812)

Patchstack reports attacks since 25 November 2026 on CVE-2026-125812 in WP Rocket, a paid WordPress caching plugin. Without logging in, an attacker can make the site save and run a PHP file, but only if LazyLoad for CSS background images or Host Fonts Locally is on. Fixed in 3.24.2 (19 Nov). What to update and what to check.

How urgent

Act now

Who is affected

WordPress sites running WP Rocket before 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally turned on. Both settings are off by default, according to Patchstack

What to do

Update WP Rocket to 3.24.2 or later (3.24.3 is the latest); if you cannot right now, turn off LazyLoad for CSS background images and Host Fonts Locally. Then look for unexpected PHP files in wp-content, wp-content/uploads and wp-content/wp-rocket-config, because updating does not remove files already planted

Published 30 Nov 2026 · Sources last checked 30 Nov 2026No. 135 / 168

Watch the short video

The video loads from YouTube (privacy-enhanced mode) only when you press play.

What happened

WP Rocket is a paid caching plugin that makes WordPress sites load faster. On 27 November 2026 the WordPress security company Patchstack reported that attackers have been exploiting CVE-2026-125812 since 25 November, 15:27 UTC. It says it blocked tens of thousands of attempts on 26 November alone, about half of them from ten IP addresses.

According to Patchstack, the flaw needs no login and is rated 9.8 out of 10 (critical). WP Rocket has a small script that reports back from visitors' browsers to the site. The site did not check those reports strictly enough, so a crafted report could make it download a file from the attacker's server and save it as PHP, which then runs on the site.

Who is affected and what is fixed

  • Affected: WP Rocket before 3.24.2, and only if LazyLoad for CSS background images or Host Fonts Locally is turned on. Patchstack says both are off by default but common on sites tuned for speed.
  • Fixed in: 3.24.2, released on 19 November, six days before the first attack. The latest version is 3.24.3 (26 November).
  • What WP Rocket says: its changelog for 3.24.2 lists only a line about better validation of cached CSS, font and preconnect files. It does not name the CVECVE A public ID number, like CVE-2026-12345, given to one specific security flaw so everyone can talk about the same bug. Tap again to open the glossary or the attacks, and we found no separate advisory from the company.

What to do

  1. Update WP Rocket to 3.24.2 or later. It is a paid plugin, so check that your licence is active and the update actually installed.
  2. If you cannot update now, turn off LazyLoad for CSS background images and Host Fonts Locally until you can.
  3. Look for planted files. Updating stops new attacks but does not remove what is already there. Patchstack says to check wp-content/, wp-content/uploads/ and wp-content/wp-rocket-config/ for PHP files you did not put there, for example names like wp-media-*.php.
  4. Check your logs for admin-ajax.php requests with action=rocket_beacon from clients that never loaded the page, and for your server calling out to unknown hosts, nip.io names or trycloudflare.com tunnels.
  5. If you find something, treat the site as compromised: restore from a clean backupBackup A copy of your data kept apart from the original, so you can recover it if something is lost, broken or locked. Tap again to open the glossary, change admin and database passwords, and rotate any keys stored on the site.

How serious it is

An attacker who can run PHP controls the site: they can add admin users, steal data, inject spam or malwareMalware Any software made to do harm, such as stealing data, spying, locking files or giving an attacker control of a device. Tap again to open the glossary, or use the server for other attacks. The settings condition limits who is exposed, but there is working exploitation, and fixes for paid plugins often wait for a renewal.

What we could not confirm

We read Patchstack's report and WP Rocket's changelog through a subagent. The exploitation figures come only from Patchstack. Patchstack's database marks the flaw as known exploited, but CISA's catalog did not list it in the feed we read (released 27 November). We do not know how many sites have the affected settings on. Patchstack shows WP Rocket on more than 5.5 million sites; that is its figure, not WP Rocket's, and we could not check it.

Glossary: remote code executionRCE (remote code execution) A flaw that lets an attacker run their own code on your server or device from a distance. Tap again to open the glossary, vulnerabilityVulnerability A weakness in software, a setting or a process that an attacker could use to get in or do harm. Tap again to open the glossary, patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary. See also our free website check for a quick look at what your site exposes.

Keep reading

More stories on the same topic or from the same area.

Comments

No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.

    We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.

    Sources and verification

    We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.

    Spotted a mistake? Email [email protected] and we will correct it and note the change.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page