CVE-2024-55660

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*

History

05 Jun 2025, 20:42

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71 - () https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71 - Patch
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp - Vendor Advisory
CPE cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*
First Time B3log siyuan
B3log
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-94

12 Dec 2024, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-12 02:15

Updated : 2025-06-05 20:42


NVD link : CVE-2024-55660

Mitre link : CVE-2024-55660

CVE.ORG link : CVE-2024-55660


JSON object : View

Products Affected

b3log

  • siyuan
CWE
CWE-1336 CWE-94

Improper Control of Generation of Code ('Code Injection')