Home

Description

SiYuan is a personal knowledge management system. Prior to version 3.1.16, 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. Version 3.1.16 contains a patch for the issue.

PUBLISHED Reserved 2024-12-10 | Published 2024-12-11 | Updated 2024-12-12 | Assigner GitHub_M




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Product status

< 3.1.16
affected

References

github.com/...siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp

github.com/...ommit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71

cve.org (CVE-2024-55660)

nvd.nist.gov (CVE-2024-55660)

Download JSON