Skip to main content
← All vulnerabilities
CVE-2024-55660GHSA-4PJC-PWGQ-Q9JPGO-2024-3324

SiYuan has an SSTI via /api/template/renderSprig

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.1.16

  • github.com/siyuan-note/siyuan/kernelGo

    through 0.0.0-20241210012039-5129ad926a21

  • github.com/siyuan-note/siyuan/kernelGo

    All versions

References 2

GitHub · siyuan-note/siyuan