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 October 31, 2025)

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
  • pkg.go.dev/vuln/GO-2024-3324

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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.0.0-20241210012039-5129ad926a21

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

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 Sun, 08 Nov 2026 00:16:55 +0000.