CVE-2026-137470
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability that allows attackers to inject DOM event handlers by storing handler-named block att…
Impact
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability that allows attackers to inject DOM event handlers by storing handler-named block attributes such as onmouseover. Attackers can share crafted .sy.zip packages or Markdown files whose attributes reach renderCustom or the unsanitised preview pane, executing OS commands via Node integration in the desktop app.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. 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 | before 3.8.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x62v-7955-xx6v
- https://www.vulncheck.com/advisories/siyuan-before-3.8.11-stored-xss-to-rce-via-block-attribute-names
- https://github.com/advisories/GHSA-8mjj-857q-w485
- https://nvd.nist.gov/vuln/detail/CVE-2026-137470