CVE Catalog

CVE-2026-93591

HighCVSS 7.6
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can execute arbitrary SQL queries, leading to disclosure of sensitive data and potential modification or deletion of database data.

Recommendation

Update SiYuan to version 3.8.3 or later; additionally verify that all SQL queries use parameterization.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS