Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
HKUDS LightRAG
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 attac

CVSS 6.1 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
HKUDS LightRAG < 1.5.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-86062

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LightRAG: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
HKUDS LightRAG < 1.5.5 -

II. Public POCs for CVE-2026-86062

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-86062

登录查看更多情报信息。

Patches & Fixes for CVE-2026-86062 (2)

Other References for CVE-2026-86062 (2)

Same Patch Batch · HKUDS · 2026-09-22 · 5 CVEs total

CVE-2026-85734 9.1 CRITICAL LightRAG: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
CVE-2026-85740 7.1 HIGH LightRAG: SSRF via IPv6-transition address bypass (NAT64, IPv4-compatible, 6to4) of the na
CVE-2026-85725 5.9 MEDIUM LightRAG: Plaintext Passwords Compared Without Constant-Time Function
CVE-2026-85709 5.3 MEDIUM LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Respo

IV. Related Vulnerabilities

V. Comments for CVE-2026-86062

No comments yet


Leave a comment