CVE-2024-55660
criticalpriority · track · 39EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–critical · 2.7–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- Go github.com/siyuan-note/siyuan/kernelall versionsosvUSpkg:golang/github.com/siyuan-note/siyuan/kernel
- Go github.com/siyuan-note/siyuan/kernel≤ 0.0.0-20241210012039-5129ad926a21osvUSpkg:golang/github.com/siyuan-note/siyuan/kernel
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-4pjc-pwgq-q9jpSiYuan has an SSTI via /api/template/renderSprig2024-12-11ghsa · osvUS
### Summary 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 ### Impact Information leakage
- GO-2024-3324SiYuan has an SSTI via /api/template/renderSprig in github.com/siyuan-note/siyuan/kernel2024-12-12vendor · osvUS
SiYuan has an SSTI via /api/template/renderSprig in github.com/siyuan-note/siyuan/kernel
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71cnnvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jpcnnvd
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71enisa_euvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jpenisa_euvd
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71Patchnvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jpVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan