A critical flaw in the WP Rocket caching plugin allows code execution on the server without an account and has been exploited since 25 November. Affected versions, settings to check and what to do if the licence has expired.
WP Rocket is a commercial caching and performance plugin for WordPress, often installed by agencies and hosting providers on business websites too; Patchstack cites more than 5.5 million downloads. On 27 November 2026 Patchstack reported that a critical flaw in the plugin, CVE-2026-125812, is being actively exploited: the first recorded attack attempt dates from 25 November at 15:27 UTC (16:27 in Switzerland), and by the next day the attacks had become automated campaigns, with tens of thousands of blocked attempts on 26 November alone. A fix has been available since 19 November: for SMEs in Ticino with a WordPress site, the point is to check that it is actually installed.
What the flaw allows
According to Patchstack’s analysis, WP Rocket runs a small script in visitors’ browsers that measures pages and sends the results to a public address on the site, but the plugin does not validate the addresses it receives strictly enough. An attacker without an account can therefore make the site download content from an external server and save it as a PHP file, which the server then runs. In practice this means taking control of the site and the data it holds. The flaw has a CVSS 3.1 score of 9.8 out of 10, assigned by Patchstack as the organisation that registered the CVE (NVD entry).
- Affected versions: according to the WP Rocket advisory, 3.15 to 3.24.1.
- Condition: a site can be attacked if at least one of two optimisation features is enabled, «LazyLoad for CSS background images» or «Self-host Google Fonts». Both are off by default but, according to Patchstack, common on sites tuned for speed.
- Fixed version: 3.24.2, released on 19 November 2026; the latest version in the changelog is 3.24.3 of 26 November.
As of 28 November the flaw is not listed in the CISA catalogue of exploited vulnerabilities (version of 27 November). That does not mean it is not being exploited: the catalogue lags behind, and active exploitation is confirmed both by Patchstack and by the vendor.
Expired licence, no updates
WP Rocket only receives updates with an active licence. It happens that a site built years ago keeps using the plugin after the licence has expired, without anyone noticing that updates have stopped. For these cases the vendor gives an interim measure: in the WP Rocket menu, under «Page Optimization» and then «Image & Media» (the «Media» tab in versions before 3.24), turn off the two features, save, and check that they stay off until the update. For those who manage many sites, WP Rocket provides a small plugin that applies the same measure. It remains a temporary solution: the fix is version 3.24.2 or later.
What to do in your company
- Know where WP Rocket runs. List all of the company’s WordPress sites, including secondary sites, public test environments and old campaign pages, and note whether they use WP Rocket and which version. If the site is managed by an agency or a managed host, ask for written confirmation of the version and the update date.
- Update to 3.24.2 or later. After the update, check the version actually installed in the WordPress dashboard under Plugins, without assuming that an automatic update succeeded.
- If you cannot update right away. Turn off the two features named by the vendor and, in the meantime, renew the licence or plan to replace the plugin.
- Look for signs of compromise. The update stops new attacks but does not remove files already planted. For sites that ran a vulnerable version with either feature enabled, have the host or your technician check for unexpected PHP files in the
wp-content/wp-rocket-config/andwp-content/uploads/folders or directly inwp-content/, unusual requests to the plugin’s measurement address in the server logs since 25 November, and outbound connections from the server to unknown addresses. - If something is found. Treat the site as compromised: keep logs and files, have the site cleaned or restored from a backup taken before the attack, change the administrator, database and hosting passwords, and check for modified accounts and content.
- Back up before acting. A recent backup of files and database, stored off the server, lets you roll back if something goes wrong and compare files.
If personal data is involved
If an attack affected personal data, for example messages sent through contact forms or customer data in an online shop, Article 24 of the Federal Act on Data Protection (FADP) requires data security breaches that are likely to result in a high risk for the persons concerned to be reported to the FDPIC as soon as possible; the FDPIC guidelines help with the assessment. Incidents can be reported to the NCSC through its reporting form. For most SMEs reporting is voluntary; operators of critical infrastructure, however, have a reporting obligation for cyberattacks within 24 hours.
Our approach
ElaraTeq Sagl follows the security advisories for the plugins installed on the sites it manages, keeps track of paid plugin licences and applies updates after a backup, checking the versions actually running (hosting). On this month’s WordPress and Drupal updates, see also our post on the November flaws, on plugin risks the one on the October updates, and on another flaw exploited earlier this month the one on CVE-2026-119977. For a review of your website you can request a consultation or contact us.
Sources
- Patchstack, Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack, 27 November 2026
- Patchstack, vulnerability entry WP Rocket < 3.24.2, 23 November 2026
- WP Rocket, Security advisory and mitigation steps for CVE-2026-125812, updated 27 November 2026
- WP Rocket, Changelog, versions 3.24.2 (19 November 2026) and 3.24.3 (26 November 2026)
- NIST, NVD, CVE-2026-125812, 25 November 2026
- CISA, Known Exploited Vulnerabilities Catalog, consulted on 28 November 2026
- FDPIC, Guidelines on reporting data security breaches
- NCSC, Reporting obligation for cyberattacks