Skip to main content
← All vulnerabilities
CVE-2026-93591

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.8.3

References 2

GitHub · siyuan-note/siyuan

vulncheck.com