SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel
- CVE-2026-137469
- GHSA-q78v-7r9v-pqm2
- EUVD-2026-136605
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.
Text from the CVE.org record.
Recommendation
siyuan-note siyuan
- If you run a version from 3.7.0 to before 3.8.11update to 3.8.11 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
siyuan-note siyuan
Affected versions Fixed in from 3.7.0 to before 3.8.11 3.8.11
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.