What’s Vulnerable › Vulnerabilities
CVE-2024-55660: SiYuan has an SSTI via /api/template/renderSprig
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-12 · updated 2026-06-17
- Weakness: CWE-1336
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.
Affected products
- siyuan-note siyuan: 3.1.15
References
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp
Get alerted when CVE-2024-55660 or the next vulnerability affects your stack