GHSA-fqj6-whhx-47p7
SiYuan has an arbitrary file write in the host via /api/asset/upload
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | <= 0.0.0-20241210012039-5129ad926a21 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.