{"schema_version":"1.9.0","id":"CVE-2024-55660","published":"2024-12-11T22:54:52.564Z","modified":"2026-08-12T03:51:14.561108086Z","aliases":["GHSA-4pjc-pwgq-q9jp","GO-2024-3324"],"related":["openSUSE-SU-2024:14599-1"],"summary":"SiYuan has an SSTI via /api/template/renderSprig","details":"SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig` endpoint is vulnerable to Server-Side Template Injection (SSTI) through the Sprig template engine. Although the engine has limitations, it allows attackers to access environment variables. 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-55660.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55660.json"},{"type":"ADVISORY","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55660"},{"type":"FIX","url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55660.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}