Description (CNA)
SiYuan before v3.8.1 does not apply the IsForbiddenAbsPath guard (introduced in GHSA-c8r8-95hg-mp34) to the /history/*path and /repo/diff/*path endpoints in kernel/server/serve.go. These routes require admin authentication but construct file paths independently, so an authenticated administrator can retrieve historical snapshots of sensitive files that the guard is meant to block, including data/.siyuan/publishAccess.json (plaintext publish-mode passwords) and files under data/templates/.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.8.1; unaffected 3.8.1 |
CWE
CWE-200
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3cm4-ccvw-6xr6
- https://www.vulncheck.com/advisories/siyuan-before-3.8.1-missing-authorization-via-history-and-repo-diff
ADP enrichment
No English description supplied.
No references supplied.