CVE-2024-55659: SiYuan has an arbitrary file write in the host via /api/asset/upload

Published Dec 11, 2024
·
Updated

Summary

The /api/asset/upload endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored XSS (via the file write).

Impact Arbitrary file write

Other sources

SiYuan is a personal knowledge management system. Prior to version 3.1.16, the /api/asset/upload endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored cross-site scripting (via the file write). 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:53 PM
Data Sourced
via MITRE·10:53 PM
DescriptionWeakness
Dec 12, 2024
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-55659?

CVE-2024-55659 has a high severity due to its potential for arbitrary file write and stored XSS vulnerabilities.

2

How do I fix CVE-2024-55659?

To fix CVE-2024-55659, upgrade to Siyuan version 3.1.16 or later which addresses the vulnerability.

3

What actions can an attacker perform due to CVE-2024-55659?

An attacker can exploit CVE-2024-55659 to write arbitrary files on the host and potentially execute stored XSS attacks.

4

Is CVE-2024-55659 present in earlier versions of Siyuan?

Yes, CVE-2024-55659 is present in Siyuan versions prior to 3.1.16.

5

What is the affected API endpoint in CVE-2024-55659?

The affected API endpoint in CVE-2024-55659 is /api/asset/upload.

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