Vulnerabilities · 2024 · B3log
CVE-2024-55660
B3log Siyuan vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Siyuan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether B3log Siyuan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp · Vendor Advisory
- github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-55660
- pkg.go.dev/vuln/GO-2024-3324
- github.com/advisories/GHSA-4pjc-pwgq-q9jp
- nvd.nist.gov/vuln/detail/CVE-2024-55660
- cve.org/CVERecord?id=CVE-2024-55660
More vulnerabilities in B3log products
CVE-2026-23852CVE-2026-23851CVE-2026-23850CVE-2026-23847CVE-2026-23645CVE-2025-68948CVE-2025-67488CVE-2025-21609All 33
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.