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.
- CVSS 4.0
- 8.8
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N - CVSS 3.1
- 8.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 26% of CVEs (scores of 2026-10-25)
- CWE
- CWE-89
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-x67c-8pwr-m8g3 | Go | github.com/siyuan-note/siyuan/kernel | <0.0.0-20260723035036-0a176345e02a | 0.0.0-20260723035036-0a176345e02a |
| GO-2026-6410 | Go | github.com/siyuan-note/siyuan/kernel | <0.0.0-20260723035036-0a176345e02a | 0.0.0-20260723035036-0a176345e02a |