Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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-unesc
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5rwv-4j4c-f954
FAQ
What is CVE-2026-93591?
CVE-2026-93591 is a vulnerability with a CVSS score of 7.6 (HIGH). 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...
How severe is CVE-2026-93591?
CVE-2026-93591 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-93591?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.