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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.003 (24.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 24.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-5rwv-4j4c-f954 (vendor-advisory)
- www.vulncheck.com/advisories/siyuan-before-3.8.3-sql-injection-via-unescaped-ta… (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.