Skip to content

CVE-2025-21609 SiYuan has an arbitrary file deletion vulnerability

HighCVSS 8.7 EPSS 0.98%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20250103014808-d9887aeec1b2; All versions 0.0.0-20250103014808-d9887aeec1b2 Partially fixed
b3log siyuan = 3.1.18 No fix listed Versions listed
siyuan-note siyuan = = 3.1.18 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) All versions No fix listed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20250103014808-d9887aeec1b2 0.0.0-20250103014808-d9887aeec1b2
siyuan-note siyuan = = 3.1.18 No fix listed
b3log siyuan = 3.1.18 No fix listed

References