CVE-2026-137469
SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel
7.7
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 products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| siyuan | siyuan-note | 3.7.0 → <3.8.11 | 3.8.11 | CVE.org |