ADVISORIES

GitHub Advisory Database

GHSA-4pjc-pwgq-q9jp

SiYuan has an SSTI via /api/template/renderSprig

Moderate No fix available CVE-2024-55660GO-2024-3324

Details

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/siyuan-note/siyuan/kernel
All versions up to and including 0.0.0-20241210012039-5129ad926a21

References