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

Published Dec 11, 2024
·
Updated

Summary 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

Impact

Information leakage

Other sources

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.

MITRE

Affected Software

2 affected components
go/github.com/siyuan-note/siyuan/kernel<=0.0.0-20241210012039-5129ad926a21
b3log SiYuan=3.1.15

Event History

Dec 11, 2024
Advisory Published
via GitHub·06:44 PM
CVE Published
via MITRE·10:54 PM
Data Sourced
via MITRE·10:54 PM
DescriptionWeakness
Dec 12, 2024
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-55660?

CVE-2024-55660 is classified as a high-severity vulnerability due to the potential for information leakage.

2

How does CVE-2024-55660 allow exploitation?

CVE-2024-55660 allows exploitation through Server-Side Template Injection via the vulnerable /api/template/renderSprig endpoint.

3

What systems are affected by CVE-2024-55660?

CVE-2024-55660 affects Siyuan versions up to and including 0.0.0-20241210012039-5129ad926a21.

4

How do I fix CVE-2024-55660?

To fix CVE-2024-55660, update to a version of Siyuan that is not affected by the vulnerability.

5

What impact does CVE-2024-55660 have on user data?

CVE-2024-55660 can lead to the exposure of sensitive environment variables, posing a risk to user data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203