What’s Vulnerable › Vulnerabilities
CVE-2026-93591: SiYuan before 3.8.3 SQL Injection via unescaped tag in graph.go
- Severity: high (CVSS 7.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-18 · updated 2026-09-18
- Weakness: CWE-89
Description
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.
Affected products
- siyuan-note siyuan: before 3.8.3 — fixed in 3.8.3
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5rwv-4j4c-f954
- https://www.vulncheck.com/advisories/siyuan-before-3.8.3-sql-injection-via-unescaped-tag-in-graph-go
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5rwv-4j4c-f954
Get alerted when CVE-2026-93591 or the next vulnerability affects your stack