CVE-2026-145024: SiYuan before 3.8.11 Information Disclosure via searchRefBlock newDoc Flag
SiYuan before 3.8.11 contains an information disclosure vulnerability in the /api/search/searchRefBlock endpoint that allows authenticated Reader users to detect password-gated documents by comparing newDoc values. Attackers can send exactDocTitle requests with guessed titles, since newDoc is computed before publish-access filtering, to enumerate protected document existence and titles.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with the Reader role can exploit it remotely. No user interaction is required.
What does an attacker need to do?
The attacker must send exactDocTitle requests to the /api/search/searchRefBlock endpoint using guessed document titles. By comparing the returned newDoc values, they can determine whether password-gated documents exist and enumerate their titles.
Are password-gated documents fully exposed?
The disclosed information is the existence and titles of password-gated documents. The provided data does not indicate that document contents or passwords can be retrieved through this issue.
Which versions are affected?
SiYuan versions before 3.8.11 are affected. Upgrading to 3.8.11 or later addresses the stated vulnerable version range.