NetSight
high7.5No CVE yet

GHSA-69jp-f2p8-9vrg

Duplicate Advisory: 17 block metadata/content endpoints in kernel/api/block.go have zero publish-access filtering, reachable by anonymous publish-mode readers

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-4vpg-gwqq-w44c. This link is maintained to preserve external references. ## Original Description SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/siyuan-note/siyuan/kernel< 3.7.4none recorded

Weakness classification

References