# NVD CVE: LiteSpeed CVE-2026-18978 — retained record

> Retained nvd record from nvd:litespeed.

Canonical: https://highsignal.app/data/records/1ea851874968a467

[← sources](https://highsignal.app/data)


source: [nvd](https://highsignal.app/data/nvd) (nvd:litespeed)  published 2026-08-28 05:16 ingested 2026-08-30 02:34

[LiteSpeed Technologies](https://highsignal.app/entities/LITESPEED)[original source ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-18978)

## retained text



```
CVSS: 7.2 HIGH
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. &#34;, &#60;, &#62;) placed inside an allowed element such as &lt;code&gt; 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.
References: https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L1317 https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L1358 https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L1405 https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L777 https://plugins.trac.wordpress.org/changeset/3635849/litespeed-cache/trunk/src/media.cls.php
```



document fetched 2026-09-11 02:35
