AI, Development & Tech News

WordPress plugins LiteSpeed Cache and W3 Total Cache: Updates close six security vulnerabilities

261128 litespeed w3 total cache security vulnerabilities cover image
Skip to table of contents
Contents 5 sections
  1. What can happen with W3 Total Cache?
  2. When is LiteSpeed Cache vulnerable?
  3. How many websites still use old versions?
  4. What this means for you
  5. Sources

The security company Wordfence describes six new security vulnerabilities in two WordPress plugins that cache finished pages and deliver them faster. Affected are all versions up to and including 7.9.3 of LiteSpeed Cache (more than 7 million active installations) and up to and including 2.11.0 of W3 Total Cache (more than 800,000).

Free updates are available, namely LiteSpeed Cache 7.9.4 from November 24 and W3 Total Cache 2.11.1 from November 26. Wordfence rates two flaws as high and four as medium on the CVSS severity scale. The entries make no mention of attacks, and none of the six flaws is listed in the US agency CISA's catalog of exploited vulnerabilities (as of November 27).

What can happen with W3 Total Cache?

A logged-in user with author rights can permanently delete any file in the media library, including other people's images. The flaw lies in the function used to reset converted images, and it scores 8.1 out of 10 points.

According to the Wordfence entry on the object cache, even a subscriber account is enough to escalate to administrator and execute code on the server (7.5 points). Prerequisites are an object cache via Memcached with the PHP extension memcache (without a d at the end) and the "Minify" function switched on, which shrinks stylesheets and scripts.

Two further flaws can be exploited without a user account under certain conditions.

  • Password reset: With the option "Cache URI with query string variables" switched on and the page cache method "Disk: Basic", Memcached, Redis or APC, an attacker can read the reset key from the cache and take over an administrator account. In addition, the administrator must open a prepared link during the reset.
  • Comments: With the CDN function switched on, which delivers files via a network of external servers, a comment can inject script code that runs in visitors' browsers.

When is LiteSpeed Cache vulnerable?

Both security vulnerabilities allow visitors without logging in to permanently plant script code by means of comments. According to Wordfence, the first one, with 5.4 points, requires that the mapping of files to the CDN (CDN mapping) is active and that under "Original URLs" there is an asterisk as a wildcard for any characters, which is not the default setting. In addition, the comment must be approved. Approval can happen automatically if a comment with the same name and the same email address was approved earlier.

For the second security vulnerability with 6.1 points, comments must be allowed. The attacker needs a sender name with quotation marks and a tool that sends special characters unencoded in the page address. With WordPress's default settings, a moderator must additionally approve the comment.

How many websites still use old versions?

According to the version statistics from WordPress.org, around 15 percent of LiteSpeed installations still run version 7.6 or 7.8, while for W3 Total Cache around 41 percent use one of the versions 2.7 to 2.10.

Neither changelog mentions CVE numbers or a severity rating, but both contain matching fixes. LiteSpeed Cache fixes a bug with addresses containing asterisks in CDN mapping, and W3 Total Cache restricts the reset to the files created when converting an image. Version 2.11.1 requires at least WordPress 6.2.

What this means for you

It's best to open "Plugins" today, check the version numbers and bring both extensions up to date. With "Enable automatic updates", future fixes arrive on their own. After the update, clear all caches as a precaution so that no older copy of a page stays online.

Which setting enables what?
Prerequisites of the security vulnerabilities, as described by Wordfence
PrerequisitePossible attack
  • W3 Total Cache: account with author rightsDelete files from the media library
  • W3: subscriber account, memcache and "Minify"Execute code on the server
  • W3: "Cache URI with query string variables", admin opens linkTake over administrator account
  • CDN function in W3 or asterisk in CDN mapping of LiteSpeedScript code via comments
  • LiteSpeed: comments allowed, unencoded special characters in the addressScript code via comments
In some cases, further conditions must come together
Source: Wordfence

If the update isn't possible right away, you reduce the risk by turning off CDN mapping, the CDN function, the option „Cache URI with query string variables“ and, for Memcached, the „Minify“ function. The security vulnerability involving file deletion and the second one in LiteSpeed will still remain open. Therefore, check which accounts have author rights and whether the setting „Anyone can register“ is necessary.

Our WordPress course explains in the lesson on updating themes and plugins how you can keep extensions up to date.

Wordfence published the six entries on November 26, 2026.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →