Vulnerability record · brew
SiYuan before 3.8.11 Information Disclosure via searchRefBlock newDoc Flag
brew
What it fixes
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.
Manual fix · brew
Sources