CVE-2026-93591
JSON

7.2high

SiYuan before 3.8.3 SQL Injection via unescaped tag in graph.go

Severity
7.2high CVSS:4.0 by VulnCheck
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
siyuan-note siyuanbefore 3.8.3
Not affected: 3.8.3
CVE List

All scores

VulnCheck7.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
VulnCheck7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-93591 changed 2026-09-18CVE Terms of Use
NVDCVE-2026-93591 changed 2026-09-18Public domain