SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 26, 2026
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.
| Product | Versions |
|---|---|
| siyuan siyuan-note | 3.7.0 to before 3.8.11 Affected3.8.11 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-3rvg-qxwg-f3c6)Vendor Advisory
- VulnCheck Advisory: SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat PanelThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.