GitHub Advisoryadvisory · Go
GHSA-fqj6-whhx-47p7 SiYuan has an arbitrary file write in the host via /api/asset/upload
HIGH
Official page ↗
- Aliases
- CVE-2024-55659
- Ecosystem
- Go
- Packages
- github.com/siyuan-note/siyuan/kernel
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-22
- Reviewed
- 2024-12-11
Affected packages
• Go github.com/siyuan-note/siyuan/kernel: <= 0.0.0-20241210012039-5129ad926a21 (no fix yet)
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
Related
Alias · CVE (1)
- CVE-2024-55659 SiYuan is a personal knowledge management system. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fqj6-whhx-47p7 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-55659 advisory
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71 web
- https://github.com/siyuan-note/siyuan package
- https://pkg.go.dev/vuln/GO-2024-3326 web