CVE-2026-145058: SiYuan before 3.8.11 Information Disclosure via getBlockDOM Response Discrepancy
SiYuan before 3.8.11 contains an observable discrepancy vulnerability in POST /api/block/getBlockDOM that allows authenticated Reader users to detect publish-disabled blocks. Attackers can compare the success response with blanked DOM against the error returned for absent IDs to reveal block existence and publish authorization state.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuanto a version that resolves this vulnerability.Fixed in 3.8.11
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with the Reader role can exploit it remotely by sending requests to the getBlockDOM API endpoint. No user interaction is required.
What information can an attacker learn?
The attacker can distinguish nonexistent block IDs from existing blocks that are disabled for publishing. This reveals block existence and publish authorization state, although the affected response blanks the DOM content.
Which versions are affected?
SiYuan versions before 3.8.11 are affected. Updating to 3.8.11 or later addresses the stated vulnerable version range.