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
Summary
  • (es) SiYuan es un sistema de gestión de conocimiento personal. Antes de la versión 3.1.16, el endpoint `/api/template/renderSprig` de SiYuan era vulnerable a Server-Side Template Injection (SSTI) a través del motor de plantillas Sprig. Aunque el motor tiene limitaciones, permite a los atacantes acceder a las variables del entorno. La versión 3.1.16 contiene un parche para el problema.
CPE cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*
CWE CWE-94
First Time B3log
B3log siyuan
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

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

Improper Neutralization of Special Elements Used in a Template Engine

CWE-94

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