GitHub Advisoryadvisory · Go

GHSA-fqj6-whhx-47p7 SiYuan has an arbitrary file write in the host via /api/asset/upload

HIGH Published 2024-12-11 Modified 2024-12-12 Official page ↗
Aliases
CVE-2024-55659
Ecosystem
Go
Packages
github.com/siyuan-note/siyuan/kernel
Severity
High
CVSS vector
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
Weaknesses
CWE-22
Reviewed
2024-12-11

Affected packages

• Go github.com/siyuan-note/siyuan/kernel: <= 0.0.0-20241210012039-5129ad926a21 (no fix yet)

Description

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

Related

Alias · CVE (1)

  • CVE-2024-55659 SiYuan is a personal knowledge management system. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References