CVE-2026-93591

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductSiyuan
PublishedSep 18, 2026
First seenSep 18, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • siyuan-note siyuan3.8.3 or later

Affected products

ProductAffected versionsFixed in
siyuan-note siyuanv < 3.8.33.8.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.