backlink/mention search · Kernel: Duplicate Advisory: SQL injection
Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database
CVSS 10.0 Critical · fixed in 3.7.4 : patch github.com/siyuan-note/siyuan/kernel as a priority.
Data as of 7 Sep 2026, 13:37 UTC
- Patch
- Available – fixed in 3.7.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/siyuan-note/siyuan/kernel | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to SiYuan version v3.7.4 or later, where this SQL injection vulnerability has been fixed. No other mitigations are indicated. Patch status is confirmed fixed in v3.7.4.
Description
SiYuan versions up to and including v3.7.2 have a critical SQL injection vulnerability in the backlink/mention search functionality. The vulnerability arises because stored block metadata and client-supplied keywords are concatenated into a SQL MATCH/search statement with insufficient escaping, allowing single quotes to break out of string literals. This enables an attacker to execute arbitrary SQL commands on the main read-write database handle, potentially reading and writing across notebooks. The issue is fixed in version v3.7.4.