Read the docs
TI-2024-36939 Aliases CVE-2024-55660GHSA-4pjc-pwgq-q9jp

SiYuan has an SSTI via /api/template/renderSprig

Priority LOW 37CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00624 50th percentileScored 2026-11-07
Fix Fixed siyuan (siyuan-note): 3.1.16

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuanbefore 3.1.163.1.16Patch availableCNA
—github.com/siyuan-note/siyuan/kernel (Go)up to 0.0.0-20241210012039-5129ad926a21—No fix listedGHSA-4pjc-pwgq-q9jp
  • siyuan Vendorsiyuan-note Affected before 3.1.16 Fixed in 3.1.16 Patch available CNA
  • github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected up to 0.0.0-20241210012039-5129ad926a21 Fixed in — No fix listed GHSA-4pjc-pwgq-q9jp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*3.1.15Vulnerablesiyuan-note
  • cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:* Versions 3.1.15 Vulnerable ·siyuan-note

Remediation

  • Fix · CNA siyuan (siyuan-note) Fixed in 3.1.16

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-55660
  2. 2026-10-03 Alias added: GHSA-4pjc-pwgq-q9jp
  3. 2026-11-03 EPSS moved to the 50th–90th percentile

References

  • TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
  • TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
  • TI-2024-35827 A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. CVSS 3.1CRITICAL 9.8
  • TI-2024-35826 A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. CVSS 3.1CRITICAL 9.8
  • TI-2024-35825 A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. CVSS 3.1CRITICAL 9.8
  • TI-2024-35824 A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. CVSS 3.1CRITICAL 9.8
See all 54 →

Sources