8.7high
SiYuan has an arbitrary file write in the host via /api/asset/upload
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-fqj6-whhx-47p7GO-2024-3326
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| siyuan-note siyuan | < 3.1.16 | CVE List |
| github.com/siyuan-note/siyuan/kernel (Go) | up to 0.0.0-20241210012039-5129ad926a21, all versions | GitHub Advisory Database, Go Vulnerability Database |
| b3log siyuan | 3.1.15 | NVD |
All scores
| GitHub_M | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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
Go Vulnerability Database
SiYuan has an arbitrary file write in the host via /api/asset/upload in github.com/siyuan-note/siyuan/kernel
NVD (es)
SiYuan es un sistema de gestión de conocimiento personal. Antes de la versión 3.1.16, el endpoint `/api/asset/upload` en Siyuan era vulnerable tanto a la escritura arbitraria de archivos en el host como a Cross-Site Scripting almacenado (a través de la escritura de archivos). La versión 3.1.16 contiene un parche para solucionar el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-55659 changed 2024-12-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fqj6-whhx-47p7 changed 2024-12-12 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3326 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-55659 changed 2026-06-17 | Public domain |