CVE-2024-55660

Source
https://cve.org/CVERecord?id=CVE-2024-55660
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55660.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-55660
Aliases
Downstream
Related
Published
2024-12-11T22:54:52.564Z
Modified
2026-07-15T01:48:52.073341666Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
SiYuan has an SSTI via /api/template/renderSprig
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55660.json",
    "cwe_ids": [
        "CWE-1336"
    ]
}
References

Affected packages

Git / github.com/siyuan-note/siyuan

Affected ranges

Type
GIT
Repo
https://github.com/siyuan-note/siyuan
Events
Database specific
{
    "cpe": "cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.1.15-NA"
        },
        {
            "last_affected": "3.1.15-NA"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.1.15-NA
v3.*
v3.1.15

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55660.json"