Vulnerability record · brew
SiYuan before 3.8.11 Information Disclosure via getRecentUpdatedBlocks Cardinality
brew
What it fixes
SiYuan before 3.8.11 contains an information disclosure vulnerability because getRecentUpdatedBlocks selects the sixteen newest paragraph blocks workspace-wide before applying publish-access filtering. Authenticated publish Readers can repeatedly poll POST /api/block/getRecentUpdatedBlocks and observe reduced row counts to infer recent edits in publish-disabled documents.
Manual fix · brew
Sources