CVE-2026-93591
7.6 HIGHpublic exploit availablePublished 2026-09-18 · Updated 2026-09-18
AI risk analysis
- Summary
- A SQL injection vulnerability exists in SiYuan's graph.go query2Stmt function where tag values are directly concatenated into SQL queries without proper escaping, allowing remote attackers to execute arbitrary database queries and access private data across notebooks.
- Exploitability
- Exploitation is relatively straightforward for publish-mode readers or anonymous visitors who can inject inline HTML span tags into the getGraph endpoint, requiring no authentication or privileged access.
- Blast radius
- The vulnerability could allow attackers to exfiltrate private data across all notebooks in the database, potentially exposing sensitive information from multiple users' workspaces.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to SiYuan 3.8.3 or later to remediate this SQL injection vulnerability.
sql-injectionwebdata-exfiltrationremote
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-89
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.