CVE-2024-55660
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-12-12
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.6 %
higher than 45 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| B3log | Siyuan | 3.1.15 | Affected |
| github.com/siyuan-note/siyuan | kernel (Go) | ≤ 0.0.0-20241210012039-5129ad926a21 | Affected |
Weakness type
-
CWE-94: Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…
-
CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or ot…
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1564.009: Resource Forking
References
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
Eleven forgotten boot loaders let attackers walk around Secure Boot
Same product
2026-08-18
ESET found eleven old boot loaders signed by Microsoft and never revoked. They can be used to run code before the operating system starts, on machine…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.