Skip to content
OpenAdvisories
High · 8.7 CVE-2025-21609 EUVD-2025-0017GHSA-8fx8-pffw-w498GO-2025-3362

SiYuan has an arbitrary file deletion vulnerability

Published Jan 3, 2025 · Updated Jan 3, 2025 · Assigned by GitHub_M

Description

SiYuan is self-hosted, open source personal knowledge management software. SiYuan Note version 3.1.18 has an arbitrary file deletion vulnerability. The vulnerability exists in the `POST /api/history/getDocHistoryContent` endpoint. An attacker can craft a payload to exploit this vulnerability, resulting in the deletion of arbitrary files on the server. Commit d9887aeec1b27073bec66299a9a4181dc42969f3 fixes this vulnerability and is expected to be available in version 3.1.19.

Affected products

VendorProductAffectedFixed
siyuan-note siyuan = 3.1.18 —

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
SLES 15 SP6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250108T191942-1.1 openSUSE-SU-2025:14624-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250108T191942-150000.1.26.1 SUSE-SU-2025:0060-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/siyuan-note/siyuan/kernel all versions — GHSA-8fx8-pffw-w498

Advisories 2

References