NetSight
medium5.8No CVE yet

GHSA-v3v5-7j3j-cc6f

Duplicate Advisory: Missing publish-access filter on the HPath/path-resolution endpoints discloses the private document tree to anonymous readers

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5w7r-f4cg-rqq7. This link is maintained to preserve external references. ## Original Description SiYuan before v3.7.4 (affected <=v3.7.2) fails to enforce publish-access filters on five filetree path-resolution endpoints (getFullHPathByID, getHPathByID, getPathByID, getIDsByHPath, and getHPathByPath). In publish mode, when Publish.Auth.Enable is false, an unauthenticated (anonymous) reader — or any publish reader token — can call these endpoints to enumerate the complete private document tree, mapping notebook names, folder hierarchies, and document titles, and resolving title paths to document IDs, including for documents marked hidden, password-protected, or publish-forbidden.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read. The attack can reach beyond the vulnerable component itself.

Affected packages

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

Weakness classification

References