Affected versions
Version ranges need review.
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- <= 0.0.0-20241210012039-5129ad926a21
- Fixed version
- Not reported
Exploitation
Description
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
Links
- https://github.com/advisories/GHSA-fqj6-whhx-47p7
- https://github.com/siyuan-note/siyuan
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fqj6-whhx-47p7
- https://nvd.nist.gov/vuln/detail/CVE-2024-55659
- https://pkg.go.dev/vuln/GO-2024-3326
Credits
- Elleuch-x1

