{"schema_version":"1.9.0","id":"CVE-2024-55659","published":"2024-12-11T22:53:45.983Z","modified":"2026-08-12T03:51:32.327363744Z","aliases":["GHSA-fqj6-whhx-47p7","GO-2024-3326"],"related":["openSUSE-SU-2024:14599-1"],"summary":"SiYuan has an arbitrary file write in the host via /api/asset/upload","details":"SiYuan is a personal knowledge management system. Prior to version 3.1.16, the `/api/asset/upload` endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored cross-site scripting (via the file write). Version 3.1.16 contains a patch for the issue.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/siyuan-note/siyuan","events":[{"introduced":"5129ad926a21176a352cf5f630e0651011bf9c83"},{"fixed":"e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"}],"database_specific":{"cpe":"cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*","extracted_events":[{"introduced":"3.1.15-NA"},{"last_affected":"3.1.15-NA"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["3.1.15-NA","v3.1.15"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55659.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55659.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55659.json"},"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"}]}