Skip to content
OpenAdvisories
High · 8.7 CVE-2024-55659 EUVD-2024-3467GHSA-fqj6-whhx-47p7GO-2024-3326

SiYuan has an arbitrary file write in the host via /api/asset/upload

Published Dec 11, 2024 · Updated Dec 12, 2024 · 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.

Affected products

VendorProductAffectedFixed
siyuan-note siyuan < 3.1.16 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/siyuan-note/siyuan/kernel <= 0.0.0-20241210012039-5129ad926a21 — GHSA-fqj6-whhx-47p7
Go github.com/siyuan-note/siyuan/kernel all versions — GO-2024-3326

Advisories 1

References