CVE-2026-72811: Vulnerability in github.com/siyuan-note/siyuan/kernel

Critical. SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an...

Go, CWE-89

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-q2vg-7qgx-x5fc
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-89
Published
14 Aug 2026
Last change
3 Sept 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/siyuan-note/siyuan/kernel Go, Affected before 0.0.0-20260723004839-1a5b3431d5ab. Fixed in 0.0.0-20260723004839-1a5b3431d5ab

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes