Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lightrag-hku
  4. ›
  5. CVE-2026-86062

CVE-2026-86062: lightrag-hku: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content

September 22, 2026

The LightRAG WebUI renders assistant/answer chat content as raw HTML — react-markdown is configured with rehypePlugins={[rehypeRaw]} and skipHtml={false} and no HTML sanitizer (rehype-sanitize), element allow-list, or custom urlTransform. Because answer content is derived from user-ingested documents, an attacker who can add a single document can store an HTML/JavaScript payload that executes in the browser of any user who later retrieves it (typically an administrator), leading to auth-token theft from localStorage and full API takeover. No authentication is required in the default configuration.

References

  • github.com/HKUDS/LightRAG/commit/8bf032a5200f293b482dd945d436e25cd08bd953
  • github.com/HKUDS/LightRAG/pull/3437
  • github.com/HKUDS/LightRAG/releases/tag/v1.5.5
  • github.com/HKUDS/LightRAG/security/advisories/GHSA-xpjq-3w4w-w5wr
  • github.com/advisories/GHSA-xpjq-3w4w-w5wr
  • nvd.nist.gov/vuln/detail/CVE-2026-86062

Code Behaviors & Features

Detect and mitigate CVE-2026-86062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.5

Fixed versions

  • 1.5.5

Solution

Upgrade to version 1.5.5 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/lightrag-hku/CVE-2026-86062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 17 Oct 2026 00:22:38 +0000.