# CVE-2024-55660: SiYuan has an SSTI via /api/template/renderSprig

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-11 · Modified: 2024-12-12
- Aliases: GHSA-4pjc-pwgq-q9jp, GO-2024-3324
- Record: https://cvemate.com/vulnerability/CVE-2024-55660 · JSON: https://cvemate.com/vulnerability/CVE-2024-55660/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.624%, percentile 51.398%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- b3log siyuan: 3.1.15
- github.com/siyuan-note/siyuan kernel (Go): ≤ 0.0.0-20241210012039-5129ad926a21 \| All versions (No fix recorded)
- siyuan-note siyuan: \< 3.1.16

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp>
- <https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55660>
- <https://github.com/siyuan-note/siyuan>
- <https://pkg.go.dev/vuln/GO-2024-3324>

---

Data as of 2026-12-05T10:18:26.037Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
