SiYuan 3.8.0 before 3.8.10 contains an incorrect authorization vulnerability in the serveAssets route that allows unauthenticated attackers to read password-protected document assets via name collisions. Attackers can request GET /assets/<name> when a visible document references the same relative asset name, retrieving the protected file's contents on public-publish instances with Basic Auth disabled.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xxqp-6jxw-qr84
https://github.com/siyuan-note/siyuan/commit/76bbb54d0e23cf27b789376826d982a616c79488