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
Information leakage
{
"github_reviewed_at": "2024-12-11T18:44:47Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-1336"
],
"github_reviewed": true,
"nvd_published_at": "2024-12-12T02:15:32Z"
}