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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2024-12-11T18:44:49.000Z
- Modified: 2026-06-17T08:11:21.627Z
- Also known as: GHSA-fqj6-whhx-47p7, GO-2024-3326
- Weaknesses: CWE-22, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.1.16
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20241210012039-5129ad926a21; all versions
- b3log siyuan: 3.1.15

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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: CVSS:4.0 High `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fqj6-whhx-47p7> (advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55659> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)
- <https://pkg.go.dev/vuln/GO-2024-3326> (web)

## Sources

- CVE List: [CVE-2024-55659](https://www.cve.org/CVERecord?id=CVE-2024-55659), CVE Terms of Use, modified 2024-12-12
- GitHub Advisory Database: [GHSA-fqj6-whhx-47p7](https://github.com/advisories/GHSA-fqj6-whhx-47p7), CC-BY-4.0, modified 2024-12-12
- Go Vulnerability Database: [GO-2024-3326](https://pkg.go.dev/vuln/GO-2024-3326), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-55659](https://nvd.nist.gov/vuln/detail/CVE-2024-55659), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-55659 · Whole record: https://cve.day/CVE-2024-55659.json · Rebuilt by cve.day 2026-11-25T22:58:50.024Z
