CVE-2026-93923
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.
Weakness
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.
References
- https://github.com/siyuan-note/siyuan
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/app/src/util/Tree.ts#L133
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/app/src/util/Tree.ts#L194
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/model/render.go#L71-L76
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-928g-4hfq-qwvx
- https://www.vulncheck.com/advisories/siyuan-through-3.8.4-stored-xss-via-heading-style-attribute
Find the bug before an attacker does.
Sign in with GitHub and run your first audit in under a minute. The free plan needs no credit card.