siyuan-note/siyuan · Security

SiYuan has an SSTI via /api/template/renderSprig

GHSA ID
GHSA-4pjc-pwgq-q9jp
CVE ID
CVE-2024-55660
Severity
medium
Published
Updated
CVSS v4
6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Description

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

CWEs

References