SQL Injection in Siyuan-Note Siyuan
CVE-2026-93591
SiYuan versions before 3.8.3 contain an SQL injection vulnerability in the graph.go query2Stmt function where tag values are concatenated raw into SQL string literals without escaping single quotes. A publish-mode reader or anonymous visitor can inject SQL via inline HTML span tags in the getGraph endpoint to execute arbitrary queries on the read-write database and exfiltrate private data across notebooks.
Vulnerability class: SQL Injection
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-93591?
- CVE-2026-93591 is a high-severity vulnerability in Siyuan-Note Siyuan, classified under SQL Injection. CVSS score: 7.6/10. Published 2026-09-18.
- How severe is CVE-2026-93591?
- High severity. CVSS v3 base score is 7.6 out of 10.