NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

mediumCVSS 4.0 6.9GHSA-4pjc-pwgq-q9jp

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

Published Dec 11, 2024 · Updated Dec 12, 2024

Affected packages

github.com/siyuan-note/siyuan/kernel

Ecosystem
Go
Affected
<= 0.0.0-20241210012039-5129ad926a21
Fixed in
No patched version yet
Check
go list -m github.com/siyuan-note/siyuan/kernel

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to Elleuch-x1.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries