{"schema_version":"1.9.0","id":"GHSA-fqj6-whhx-47p7","published":"2024-12-11T18:44:49Z","modified":"2024-12-12T19:20:10Z","aliases":["CVE-2024-55659","GO-2024-3326"],"summary":"SiYuan has an arbitrary file write in the host via /api/asset/upload","details":"### Summary\n\nThe /api/asset/upload endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored XSS (via the file write).\n\n### Impact\nArbitrary file write","affected":[{"package":{"name":"github.com/siyuan-note/siyuan/kernel","ecosystem":"Go","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.0-20241210012039-5129ad926a21"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-fqj6-whhx-47p7/GHSA-fqj6-whhx-47p7.json"}}],"references":[{"type":"WEB","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fqj6-whhx-47p7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55659"},{"type":"WEB","url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"},{"type":"PACKAGE","url":"https://github.com/siyuan-note/siyuan"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3326"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2024-12-11T18:44:49Z","nvd_published_at":"2024-12-12T02:15:32Z","severity":"HIGH"},"severity":[{"type":"CVSS_V4","score":"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"}]}