hello@faustagency.com +421 948 30 50 50

Cybersecurity

WP Rocket has a 9.8 flaw and attackers are exploiting it: which WordPress sites are at risk?

The WP Rocket plugin speeds up millions of WordPress websites. With certain settings, however, an older version lets an attacker run code on the server without logging in. Security firm Patchstack has already recorded automated attacks, and on 1 December the Slovak SK-CERT warned of a critical risk. For an online store, it is important to find out not only whether it has the fix, but also whether it was exposed before the fix was installed.

Faust Agency editorial team Published 4 min read
Illustration of an online store with the vulnerable WP Rocket plugin, automated attack attempts and a security fix.
Illustrative image, not a screenshot of an attacked website.

What is confirmed and when it happened

The maker of WP Rocket released the fixed version 3.24.2 on 19 November 2026. Patchstack says it recorded the first attempt to exploit CVE-2026-125812 on 25 November at 15:27 UTC. It published its analysis of the active attacks on 27 November. The Slovak SK-CERT published a warning dated 1 December; its page also gives 23 November as the date the warning was first published. These dates mark different steps and should not be confused.

SK-CERT rates the flaw with a CVSS score of 9.8 out of 10. According to the vendor, it affects versions 3.15 to 3.24.1 if at least one of two features is enabled: LazyLoad for CSS background images or self-hosting Google Fonts. Both are part of performance optimisation. If neither is enabled, the documented exploitation paths do not apply to the site. Updating the plugin is nevertheless the safe response.

Why the flaw is dangerous even without a stolen password

During optimisation, WP Rocket works with data coming from the visitor’s browser. According to Patchstack, insufficient validation makes it possible to forge a request so that the website fetches malicious content and saves it as a PHP file. The server can then execute it. The attacker does not need to log in to the WordPress administration. This is the difference from a typical attack based on a stolen password: changing passwords alone will not close this flaw.

Patchstack writes about the first observed attempt, a growing volume of automated attacks and various attackers. Its telemetry records attempts, not the number of successfully compromised websites. It is therefore not correct to claim that all websites with an old version have already been compromised. The risk is, however, concrete enough to warrant an immediate check, especially for an online store, where an outage or code modification can affect orders and customer trust.

WP Rocket check diagram: plugin version, enabled features, fix and review of earlier attacks.
Our own diagram of a site administrator’s decisions based on the conditions published by the vendor; it is not a technical reconstruction of the attack.

How to check your own WordPress site

  1. Find out whether WP Rocket is installed. Open the list of plugins in the administration or ask your hosting administrator for an inventory. With several websites, each one needs to be checked separately, including test installations if they are reachable from the internet.
  2. Check the version. If it is lower than 3.24.2, update the plugin. Do not rely only on “automatic updates enabled”; verify the version number actually installed.
  3. Check the two risky options. In the WP Rocket settings, look for LazyLoad for CSS background images and Self-host Google Fonts, also referred to as Host Fonts Locally. The vendor recommends disabling both if an update is not yet possible.
  4. Review the past. If the site used a vulnerable version with either feature enabled, check the logs, new PHP files, account changes and the integrity of WordPress. If you suspect anything, isolate the site and preserve the evidence.

For managing multiple websites, the vendor also offers a helper plugin that disables the risky features. This is a temporary mitigation, not a substitute for the update. According to the documentation, on multisite it has to be activated on every affected subsite. If you have an old licence and the update is not available, temporarily disabling both settings is better than waiting without taking any action.

The fix will not clean a site that someone has already hit

This is, in practice, the vendor’s most important detail: upgrading to 3.24.2 prevents new attempts via the described flaw, but does not remove files or accounts that an attacker may have created before the fix. If your monitoring recorded suspicious requests, do not settle for a green tick next to the updated plugin. You need to check what has changed on the server.

SK-CERT recommends checking the logs and the integrity of the content management system and databases. After fixing a flaw that could have allowed access to sensitive data or code execution, it considers it good practice to change passwords and keys on the affected system and anywhere else they were reused. For an online store, also include payment and marketing integrations in the check, because their credentials may be stored in the web application.

What a company should take away

Website cybersecurity is not just a question of the WordPress core. Even a performance plugin can be a path to the server if it has the right to write files and its inputs are not properly validated. A company should have a list of plugins, a person responsible for updates, a recovery plan and independent logs. When a similar warning comes, it can then determine within a few minutes whether it is affected, instead of a lengthy search for who installed what at some point.

If your website does not use the plugin, there is no reason to panic about this particular flaw. If it does, under the conditions specified by the vendor, the update and a subsequent review of the risk period take priority over routine content changes. The sources we have checked do not confirm a successful attack on any specific Slovak website.

What is worth checking on your website?

If you want to assess risks, measurement or the further development of your online store, see the cybersecurity services at Faust Agency.

Sources and further reading

The links lead to the original announcements, reports and documentation the article is based on.

  1. sk-cert.sk/threat/sk-cert-bezpecnostne-varovanie-v20261201-01/index.html
  2. wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812
  3. patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack
  4. securityweek.com/critical-wordpress-wp-rocket-vulnerability-exploited-days-after-patching
Faust Agency editorial team

Articles are written by the Faust Agency team, which takes care of the security, development and operation of websites, internal systems and corporate infrastructure.

More about us
Share

We will review the security and operations of your company.

Websites, internal systems, servers and recovery after an incident. Get in touch and we will agree on a concrete next step.

Discuss the security and operations of our company
Back to top of page