LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, lightrag_webui/src/components/retrieval/ChatMessage.tsx renders answer and thinking content with react-markdown, rehypeRaw, and skipHtml=false without an HTML sanitizer. An attacker who can add a document can store raw HTML that is returned through the query path and rendered as active content by MessageMarkdown. A user who later retrieves the content can execute attacker-controlled JavaScript through elements such as an iframe srcdoc; the additional Mermaid securityLevel: loose rendering path also injects generated SVG through innerHTML. The script runs in the LightRAG WebUI origin and can read the API token in localStorage and perform API actions as the victim. This issue is fixed in version 1.5.5.
CVE-2026-86062
This medium-severity CVE scores 6.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(low)
- EG Risk
- 43(Track)EG Risk 43/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity61% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 27%
- KEV
- Not listed
Published
September 22, 2026
Last Modified
September 22, 2026
Advisory Details (4)
Auto-updated Sep 22, 2026v1.5.5
Patch available: HKUDS/LightRAG v1.5.5
https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5commit 8bf032a5200f (HKUDS/LightRAG)
Patch available: HKUDS/LightRAG v1.5.5 (contains commit 8bf032a5200f)
https://github.com/HKUDS/LightRAG/commit/8bf032a5200f293b482dd945d436e25cd08bd953fix(webui): sanitize untrusted chat Markdown to block stored XSS (GHSA-xpjq-3w4w-w5wr)
Patch available: HKUDS/LightRAG v1.5.5 (PR #3437 merged 2026-07-20)
https://github.com/HKUDS/LightRAG/pull/3437Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content · Advisory · HKUDS/LightRAG · GitHub
https://github.com/HKUDS/LightRAG/security/advisories/GHSA-xpjq-3w4w-w5wrVendor Advisories for CVE-2026-86062(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 6× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 19:38 UTCEG score recompute
- 2026-09-22 18:33 UTCEG score recompute
- 2026-09-22 17:36 UTCEG score recompute
- 2026-09-22 16:25 UTCEG score recompute
- 2026-09-22 16:24 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-86062?
When was CVE-2026-86062 disclosed?
Is CVE-2026-86062 actively exploited?
What is the CVSS score of CVE-2026-86062?
How do I remediate CVE-2026-86062?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-86062
Is Your Infrastructure Affected by CVE-2026-86062?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.