Panellicense

LiteSpeed Cache 7.9.4: patching CVE-2026-130039 and 131695

LiteSpeed Cache for WordPress 7.9.3 and earlier has two unauthenticated stored XSS bugs triggered by visitor comments. Who is exposed and how to patch a cPanel fleet.

LSAll LiteSpeed articlesNews & changelogs4 min readUpdated 2026-12-01
schema: TechArticleschema: FAQPageschema: BreadcrumbList

LiteSpeed Cache for WordPress (LSCWP) 7.9.4 fixes two unauthenticated stored cross-site scripting bugs, CVE-2026-130039 and CVE-2026-131695, both reported by Wordfence. Every version up to and including 7.9.3 is affected. LiteSpeed released 7.9.4 to the WordPress repository on 24 November 2026, added it to the control panel plugins' stable list on 25 November, and published the advisory on 30 November.

This is the second LSCWP security release in five weeks. Sites you patched to 7.9.2 for CVE-2026-113499 and 113500 are exposed again until they reach 7.9.4.

Who is exposed

Both bugs start with a visitor comment and need no account. Neither is a default-config bug on its own, but CVE-2026-130039 comes close.

CVE-2026-130039 (cache poisoning). The attacker gets a comment approved, then causes a cached page containing content they influenced to be stored. Every later visitor gets that cached page, and a script runs when they interact with it. A site is exposed only if all of these hold:

  1. Cache → Cache → Enable Cache is on (the default on single sites).
  2. Cache → Cache → Drop Query String has at least one entry (it does by default).
  3. Comments are open and a visitor comment has been approved.
  4. The theme shows recent comment author names on the front end, for example in a sidebar widget.

CVE-2026-131695 (CDN rewriting). A crafted comment, once published, changes how LSCWP rewrites the page before it is sent. Anyone viewing the page, including a logged-in administrator, can have script run in their browser. A site is exposed only if all of these hold:

  1. CDN → Other Static CDN → CDN Mapping is on (off by default).
  2. CDN → Other Static CDN → Original URLs has an entry containing a * wildcard (none by default).
  3. The site accepts comments from visitors who aren't logged in.
  4. The comment gets approved. With moderation off, that's immediate. With default moderation, it's automatic once the same name and email already has one approved comment.

That last point matters: default WordPress moderation does not stop a patient attacker who posts one harmless comment first. No CVSS scores or exploitation reports had been published as of 1 December.

Patch a single site

wp plugin update litespeed-cache
wp plugin get litespeed-cache --field=version

The second command must print 7.9.4 or later. Then purge, so no page poisoned before the update keeps being served from cache:

wp litespeed-purge all

LiteSpeed's advisory doesn't mention purging, but for a cache-poisoning bug it costs nothing.

Patch a cPanel fleet with lscmctl

On LiteSpeed Enterprise servers with the WHM plugin, lscmctl pushes the update to every discovered install. The commands are the same as for 7.9.2:

cd /usr/local/lsws/admin/misc
./lscmctl setversion --latest
./lscmctl setversion
./lscmctl scan -n
./lscmctl upgrade -m

The bare setversion call must report 7.9.4 or later before you run upgrade. Then catch installs lscmctl never discovered:

find /home*/*/public_html -path '*/plugins/litespeed-cache/litespeed-cache.php' \
  -exec grep -H '^ \* Version:' {} \; | grep -v '7\.9\.[4-9]'

Anything it prints is still unpatched. If Softaculous auto-upgrades manage plugins on some accounts, check they have picked up 7.9.4 too.

If you can't update today

Remove the conditions instead:

  • CVE-2026-130039: clear Cache → Cache → Drop Query String, or close comments on affected sites. Clearing Drop Query String lowers the cache hit rate for URLs with tracking parameters, so restore it after updating.
  • CVE-2026-131695: turn off CDN Mapping, or remove the * wildcard from Original URLs.

Then purge the cache. A WAF with WordPress virtual patching adds another layer against stored XSS payloads, but it's not a substitute for 7.9.4.

Sources

What version of LiteSpeed Cache fixes CVE-2026-130039?+
Version 7.9.4, released on 24 November 2026. It fixes CVE-2026-130039 and CVE-2026-131695. Every version up to and including 7.9.3 is affected.
Is LiteSpeed Cache 7.9.2 or 7.9.3 still safe?+
No. Both are affected by CVE-2026-130039 and CVE-2026-131695. Update to 7.9.4 or later.
Does comment moderation stop the LiteSpeed Cache 7.9.3 XSS bugs?+
Not reliably. WordPress auto-approves a commenter whose name and email already has an approved comment, so an attacker can post one harmless comment first. Update, or remove the vulnerable settings.
Am I affected if I don't use the LiteSpeed CDN Mapping feature?+
You're not exposed to CVE-2026-131695, but CVE-2026-130039 only needs default cache settings, approved visitor comments, and a theme that shows recent comment authors.
Should I purge the LiteSpeed cache after updating to 7.9.4?+
Yes. CVE-2026-130039 works by poisoning cached pages, so run wp litespeed-purge all or Purge All in the admin bar after the update.

Next steps

Switch in an afternoon

Switch from your current reseller — free.

We migrate active cPanel, Plesk, LiteSpeed and CloudLinux licenses from any reseller. We prorate the first month so you never pay twice, and your customers see zero downtime during the swap.