Description
SiYuan before 3.8.11 discloses whether an encrypted notebook is locked because the checkBlockFold API acquires the encrypted-notebook lease before checking publish authorization. An authenticated publish Reader who knows a valid block ID and notebook ID can send POST /api/block/checkBlockFold and infer lock state from whether it returns a lock error or an empty success response.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
siyuan-note siyuan
Default version status: unaffected
0 to < 3.8.11affected3.8.11unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernel