{"cve":"CVE-2024-55660","nvd":{"published":"2024-12-12T02:15:32.883","modified":"2026-06-17T08:11:21.747","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94","CWE-1336"],"references":["https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp"],"products":["b3log:siyuan"],"source":"nvd","synced_at":"2026-10-19T21:57:36.180738747+00:00"},"epss":{"cve":"CVE-2024-55660","score":0.00624,"percentile":0.49962,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4pjc-pwgq-q9jp","url":"https://osv.dev/vulnerability/GHSA-4pjc-pwgq-q9jp","summary":"SiYuan has an SSTI via /api/template/renderSprig","modified":"2024-12-12T19:20:33Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<=0.0.0-20241210012039-5129ad926a21"],"fixed":[]}]},{"id":"GO-2024-3324","url":"https://osv.dev/vulnerability/GO-2024-3324","summary":"SiYuan has an SSTI via /api/template/renderSprig in github.com/siyuan-note/siyuan/kernel","modified":"2026-03-03T04:56:07.731892Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}