GitHub Advisory Database
GHSA-fqj6-whhx-47p7
SiYuan has an arbitrary file write in the host via /api/asset/upload
Details
Summary
The /api/asset/upload endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored XSS (via the file write).
Impact
Arbitrary file write
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | All versions up to and including 0.0.0-20241210012039-5129ad926a21 |