Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2024-55660

CVE-2024-55660: SiYuan has an SSTI via /api/template/renderSprig

December 11, 2024 (updated December 12, 2024)

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

References

  • github.com/advisories/GHSA-4pjc-pwgq-q9jp
  • github.com/siyuan-note/siyuan
  • github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp
  • nvd.nist.gov/vuln/detail/CVE-2024-55660

Code Behaviors & Features

Detect and mitigate CVE-2024-55660 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.0-20241210012039-5129ad926a21

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2024-55660.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.