GitHub Advisory Database
GHSA-xx68-37v4-4596
SiYuan has an arbitrary file read via /api/template/render
Details
Summary
An arbitrary file read vulnerability exists in Siyuan's /api/template/render endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system.
Impact
Arbitrary file read on the host
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | All versions up to and including 0.0.0-20241210012039-5129ad926a21 |