Live threats

All CVEs / B3log

CVE-2024-55660B3log Siyuan

Medium 6.9 No auth needed

Priority
57
CVSS 4.0
6.9
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Dec 12, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1336, CWE-94
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Siyuan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/siyuan-note/siyuan/kernel ≤ 0.0.0-20241210012039-5129ad926a21 no fixed version —
Go github.com/siyuan-note/siyuan/kernel all no fixed version —

Per OSV / GitHub Advisories (GHSA-4pjc-pwgq-q9jp, GO-2024-3324). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
b3logsiyuan3.1.15

Official sources

References

Links published by the sources. Open them with care.