SQL Injection in Siyuan-Note Siyuan
CVE-2026-72807
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 (23.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 24th percentile — 23.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.001
Affected products
- Siyuan-Note Siyuan — versions 0, 3.7.4
Weakness classification (CWE)
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3 (vendor-advisory)
- www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-templa… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72807?
- CVE-2026-72807 is a high-severity vulnerability in Siyuan-Note Siyuan, classified under SQL Injection. CVSS score: 8.0/10. Published 2026-08-12.
- How severe is CVE-2026-72807?
- High severity. CVSS v3 base score is 8.0 out of 10.