PT-2026-76919
CVE-2026-74904
·
تاريخ النشر
2026-08-18
·
تاريخ التحديث
2026-10-07
الوصف من
CVSS 3.1
7.5
عاليةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.7.4
Description
SiYuan contains a missing authorization issue affecting 17 endpoints within
kernel/api/block.go. These handlers are only protected by basic authentication and lack necessary publish-access filtering. This allows anonymous readers in publish-mode to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the entire workspace.Technical details include the following affected API endpoints:
/api/block/getRefText(discloses actual reference-display text derived from block content)/api/block/getBlockBreadcrumb(discloses the block's breadcrumb or title path)/api/block/getBlockDefIDsByRefText(resolves reference text to block IDs)/api/block/getRefIDsByFileAnnotationID(discloses block IDs referencing a PDF or file annotation)/api/block/getBlockIndexand/api/block/getBlocksIndexes(discloses a block's position within its document)/api/block/getTreeStat(discloses structural statistics for a document tree)/api/block/getBlocksWordCountand/api/block/getContentWordCount(discloses word or character counts)/api/block/checkBlockExistand/api/block/checkBlocksExist(acts as an existence oracle for block IDs)/api/block/getUnfoldedParentID(discloses the nearest unfolded ancestor of a block)/api/block/checkBlockFold(discloses if a block is folded)/api/block/getBlockSiblingID(discloses a block's sibling in document order)/api/block/getBlockRelevantIDs(discloses IDs of blocks related to a given block)/api/block/getBlockTreeInfos(discloses block tree metadata)/api/block/checkBlockRef(discloses if a block is referenced elsewhere)
The vulnerability is triggered via the
id variable in these endpoints. For example, the getRefText() function fails to implement access checks, allowing the retrieval of refText for any provided id regardless of the user's permissions.Recommendations
Update SiYuan to version 3.7.4 or later.
As a temporary mitigation, restrict access to the affected API endpoints in
kernel/api/block.go to minimize the risk of unauthorized data disclosure.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾