npm
CVE-2026-137470
SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names
- Severity
- High 8.7
- Published
- 26 Nov 2026
- Last changed
- 26 Nov 2026
- Added to UpHeron
- 26 Nov 2026
- Fixed in
- 3.8.11
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
siyuannpm · osv:npm:siyuan |
|
About siyuan
- Weekly downloads (npm)
- 711npm, 24 Nov 2026
Vulnerabilities in siyuan
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-137469SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat PanelHigh 7.7 26 Nov 2026
- CVE-2026-137471SiYuan before 3.8.10 XSS via WebDAV Sync Error NotificationCritical 9.0 26 Nov 2026
- CVE-2026-126264SiYuan before 3.8.9 Sensitive File Disclosure via /api/file/getFileHigh 8.3 13 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137470