SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 26, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 26, 2026
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.
| Product | Versions |
|---|---|
| siyuan siyuan-note | before 3.8.11 Affected3.8.11 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-x62v-7955-xx6v)Vendor Advisory
- VulnCheck Advisory: SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute NamesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.