SiYuan before 3.8.3 SQL Injection via unescaped tag in graph.go
cve-program · CVE-2026-93591
PublishedSiYuan 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-93591 · CVE overview and exploitation status
cve-program · CVE-2026-93591
Related changes
Linked by CVE identifierNo related changes are available here.