npm
CVE-2026-137469
SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel
- Severity
- High 7.7
- Published
- 26 Nov 2026
- Last changed
- 26 Nov 2026
- Added to UpHeron
- 26 Nov 2026
- Fixed in
- 3.8.11
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
SiYuan 3.7.0 before 3.8.11 contains a DOM-based cross-site scripting vulnerability in the AI agent chat panel, which renders final and saved assistant replies into innerHTML without HTML sanitisation. Attackers influencing model replies via indirect prompt injection or a configured model endpoint can inject event-handler markup, executing OS commands through Node.js integration in desktop local-kernel mode.
Affected software
| Software | Affected versions |
|---|---|
siyuannpm · osv:npm:siyuan |
|
About siyuan
- Weekly downloads (npm)
- 711npm, 24 Nov 2026
Vulnerabilities in siyuan
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-137470SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute NamesHigh 8.7 26 Nov 2026
- CVE-2026-137471SiYuan before 3.8.10 XSS via WebDAV Sync Error NotificationCritical 9.0 26 Nov 2026
- CVE-2026-126264SiYuan before 3.8.9 Sensitive File Disclosure via /api/file/getFileHigh 8.3 13 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137469