CVE-2024-55660 MEDIUM

CVE-2024-55660: SiYuan has an SSTI via /api/template/renderSprig

Vendor Siyuan-Note
Product siyuan
Weakness CWE-1336
Published December 11, 2024
Last update December 12, 2024

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 11, 2024 CVE published
December 12, 2024 Record updated