Original description
SiYuan through 3.8.4 renders notebook names as raw HTML in the Daily Note picker dialog without escaping, allowing stored cross-site scripting in the Electron renderer. Attackers can create notebooks with HTML payloads in names that execute JavaScript with Node.js access when the picker opens, enabling operating system command execution.
Affected software
- SiYuan ≤ 3.8.4 repository or package match
Details
- Published
- 2026-09-19
- Last modified
- 2026-09-23
- CVSS 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- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.82% (percentile 58)
References
- cve.org/CVE-2026-93922
- nvd.nist.gov/vuln/detail/CVE-2026-93922
- github.com/siyuan-note/siyuan/security/advisories/GHSA-8c2m-33v9-vvqm
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/blob/v3.8.4/app/src/util/mount.ts#L72
- github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/model/file.go#L2446-L2454
- www.vulncheck.com/advisories/siyuan-through-3.8.4-stored-xss-via-notebook-names
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.