Description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the publish service exposes bookmarked blocks from password-protected documents to unauthenticated visitors. In publish/read-only mode, /api/bookmark/getBookmark filters bookmark results by calling FilterBlocksByPublishAccess(nil, ...). Because the filter treats a nil context as authorized, it skips the publish password check and returns bookmarked blocks from documents configured as Protected. As a result, anyone who can access the publish service can retrieve content from protected documents without providing the required password, as long as at least one block in the document is bookmarked. This issue has been patched in version 3.6.2.
Affected products
b3log: siyuan
References4
- github.com/siyuan-note/siyuan/security/advisories/GHSA-c77m-r99… ExploitVendor Advisory
- github.com/siyuan-note/siyuan/security/advisories/GHSA-c77m-r99… ExploitVendor Advisory
- github.com/siyuan-note/siyuan/issues/17246 Issue Tracking
- github.com/siyuan-note/siyuan/releases/tag/v3.6.2 Release Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 69 · as of 12 November 2026
- CWE
- CWE-863
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.