XSS in Siyuan-note Siyuan
CVE-2026-32940
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, SanitizeSVG has an incomplete blocklist — it blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.001 (27.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Siyuan-note Siyuan — versions < 3.6.1
Weakness classification (CWE)
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mx9-3c2h-hwhg (x_refsource_CONFIRM)
- https://github.com/siyuan-note/siyuan/commit/d01d561875d4f744e9f6232f1d4831e3642b8696 (x_refsource_MISC)
- https://github.com/advisories/GHSA-6865-qjcf-286f (x_refsource_MISC)
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-32940?
- CVE-2026-32940 is a critical-severity vulnerability in Siyuan-note Siyuan, classified under Cross-site Scripting. CVSS score: 9.3/10. Published 2026-03-20.
- How severe is CVE-2026-32940?
- Critical severity. CVSS v3 base score is 9.3 out of 10.