SQL Injection in Siyuan-Note Siyuan
CVE-2026-72807
- CVSS v3
- 8.0 High
- Public exploits
- None known
- EPSS
- 0.003 · 26.9th percentile
- Published
- 2026-08-12
SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 26.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Siyuan-Note Siyuan — versions 0, 3.7.4
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-x67c-8pwr-m8g3) (vendor-advisory)
- VulnCheck Advisory: SiYuan before v3.7.4 SQL Injection via queryBlocks template (third-party-advisory)