CVE-2024-55659
JSON

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 packageVersionsReported by
siyuan-note siyuan< 3.1.16CVE List
github.com/siyuan-note/siyuan/kernel (Go)up to 0.0.0-20241210012039-5129ad926a21, all versionsGitHub Advisory Database, Go Vulnerability Database
b3log siyuan3.1.15NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-22CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-55659 changed 2024-12-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-fqj6-whhx-47p7 changed 2024-12-12CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3326 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-55659 changed 2026-06-17Public domain