—
GO-2026-6410
SiYuan: Second-order SSTI to arbitrary SQL via attribute-view template column (queryBlocks): malicious imported package executes SQL on victim kernel in github.com/siyuan-note/siyuan/kernel
Quick fix
GO-2026-6410 — github.com/siyuan-note/siyuan/kernel: upgrade to the fixed version with the command below.
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260723035036-0a176345e02aDetails
SiYuan: Second-order SSTI to arbitrary SQL via attribute-view template column (queryBlocks): malicious imported package executes SQL on victim kernel in github.com/siyuan-note/siyuan/kernel
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/siyuan-note/siyuan/kernel
Introduced in:
0Fixed in: 0.0.0-20260723035036-0a176345e02aFix
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260723035036-0a176345e02aReferences
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-72807[ADVISORY]
- https://github.com/siyuan-note/siyuan/commit/0a176345e02a0d19bdc7762e50e0b92002087d20[WEB]
- https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-template[WEB]