Skip to content
OpenAdvisories
High · 7.6 CVE-2026-93591 EUVD-2026-82910GHSA-4m3r-2vx9-4x56

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

Published Sep 18, 2026 · Updated Sep 18, 2026 · 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 products

VendorProductAffectedFixed
siyuan-note siyuan < 3.8.3 3.8.3

References