Skip to content
OpenAdvisories
High · 7.5 CVE-2026-59834 EUVD-2026-42742GHSA-h89q-4j2h-7h88GO-2026-6353

SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content

Published Jul 9, 2026 · Updated Jul 10, 2026 · Assigned by GitHub_M

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the block search endpoint POST /api/search/fullTextSearchBlock concatenates attacker-controlled paths values into SQL predicates used by non-SQL search modes, allowing an unauthenticated publish visitor to inject a UNION SELECT and return rows from hidden documents by projecting an allowed visible box and path. This issue is fixed in versions 3.7.1.

Affected products

VendorProductAffectedFixed
siyuan-note siyuan < 3.7.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
SLES 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 openSUSE-SU-2026:21897-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260704035518-d0f0fe146fb0 0.0.0-20260704035518-d0f0fe146fb0 GHSA-h89q-4j2h-7h88

Advisories 3

References