CVE-2026-137469
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Siyuan-note)
| Product | Affected versions |
|---|---|
| Siyuan | from 3.7.0 before 3.8.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3rvg-qxwg-f3c6
- https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.11-dom-xss-via-ai-agent-chat-panel
- https://github.com/advisories/GHSA-q78v-7r9v-pqm2
- https://nvd.nist.gov/vuln/detail/CVE-2026-137469