Skip to main content
VulnerabilityPublished Updated

backlink/mention search · Kernel: Duplicate Advisory: SQL injection

Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database

0

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

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Affected software

ProductAffectedFixed in
Gogithub.com/siyuan-note/siyuan/kernelAffected–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.

References

Community reviews

Loading reviews…