Description
SiYuan through 3.8.4 fails to escape heading style attributes when rendering outline and bookmark dock HTML, allowing stored cross-site scripting. Attackers can supply crafted notebooks or call administrative endpoints to inject malicious style values that execute in the Electron renderer with full system access.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 to <=3.8.4 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-928g-4hfq-qwvx (vendor-advisory)
- https://github.com/siyuan-note/siyuan (product)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/model/render.go#L71-L76 (technical-description)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/app/src/util/Tree.ts#L133 (technical-description)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/app/src/util/Tree.ts#L194 (technical-description)
- https://www.vulncheck.com/advisories/siyuan-through-3.8.4-stored-xss-via-heading-style-attribute (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.