SQL Injection Vulnerability in SiYuan by SiYuan Note
CVE-2026-93591

7.2HIGH

Key Information:

Status
Vendor
CVE Published:
18 September 2026

What is CVE-2026-93591?

SiYuan versions prior to 3.8.3 are susceptible to an SQL injection vulnerability found in the graph.go query2Stmt function. This vulnerability occurs due to the improper concatenation of tag values into SQL string literals, specifically failing to escape single quotes. An attacker, such as a publish-mode reader or an anonymous visitor, can exploit this flaw by injecting SQL commands through inline HTML span tags in the getGraph endpoint. This can result in the execution of arbitrary SQL queries against the read-write database, potentially leading to the exfiltration of sensitive data stored within notebooks.

Affected Version(s)

siyuan 0 < 3.8.3

siyuan 3.8.3

References

CVSS V4

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.