LiteSpeed Cache plugin for WordPress CVE-2026-18978: Cross-Site Scripting (XSS)
CVE-2026-18978 (CVSS 7.2, High) is a stored cross-site scripting flaw in the LiteSpeed Cache plugin for WordPress up to version 7.8.1: comment content is not sanitised or escaped, so an unauthenticated attacker can inject web scripts that run whenever a user visits the injected page. Update the plugin to 7.9 or later. LiteSpeed Web Server itself is not affected.
Betroffene Versionen
LiteSpeed Cache plugin for WordPress, up to and including 7.8.1
Was das unter einer SharedLicense-Lizenz bedeutet
Injected scripts run in every visitor's browser on the affected page, without any interaction.
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to, and including, 7.8.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A comment payload crafted exclusively from decimal numeric character references (e.g. “, <, >) placed inside an allowed element such as <code> bypasses WordPress’s wp_kses sanitization, as kses does not treat a data-settings=”…” substring within text content as an HTML attribute, allowing the malicious payload to reach the vulnerable function. For this to be exploitable, the site must allow users with previously approved comments to write new comments, and the require_name_email setting must be disabled.
Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-18978
Häufig gestellte Fragen
Which software is affected by CVE-2026-18978?
What version fixes CVE-2026-18978?
Does this affect my LiteSpeed server license?
System auf Schwachstellen prüfen
Wählen Sie Ihr Produkt und Betriebssystem, um die passenden Fix-Befehle zu sehen.
System prüfen