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:
- Cache → Cache → Enable Cache is on (the default on single sites).
- Cache → Cache → Drop Query String has at least one entry (it does by default).
- Comments are open and a visitor comment has been approved.
- 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:
- CDN → Other Static CDN → CDN Mapping is on (off by default).
- CDN → Other Static CDN → Original URLs has an entry containing a
*wildcard (none by default). - The site accepts comments from visitors who aren't logged in.
- 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
- LiteSpeed: Security Updates for LSCWP (30 November 2026)
- LiteSpeed Cache on WordPress.org, 7.9.4 changelog
- Patchstack: LiteSpeed Cache vulnerabilities