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