{"schema_version":"1.7.3","id":"GHSA-xx68-37v4-4596","published":"2024-12-11T18:44:52Z","modified":"2025-06-05T21:59:05Z","aliases":["CVE-2024-55657","GO-2024-3327"],"summary":"SiYuan has an arbitrary file read via /api/template/render","details":"### Summary\n\nAn arbitrary file read vulnerability exists in Siyuan's /api/template/render endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system.\n\n### Impact\n\nArbitrary file read on the host","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-xx68-37v4-4596/GHSA-xx68-37v4-4596.json"}}],"references":[{"type":"WEB","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55657"},{"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-3327"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2024-12-11T18:44:52Z","nvd_published_at":"2024-12-12T02:15:32Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}