{"id":"CVE-2025-21609","published":"2025-01-03T16:26:36Z","modified":"2025-01-03T17:14:23Z","title":"SiYuan has an arbitrary file deletion vulnerability","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00626,"percentile":0.50965,"provenance":"source"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"},{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":10.19},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["= 3.1.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-03T17:03:32.565543Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20250103014808-d9887aeec1b2","all versions"],"patched":[],"from":["GHSA-8fx8-pffw-w498","GO-2025-3362"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-0017","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-21609","published":"2025-01-03","fixed":"0.0.0-20250103014808-d9887aeec1b2","kev":false},{"cve":"CVE-2026-23645","published":"2026-01-16","fixed":"0.0.0-20260116101155-11115da3d0de","kev":false,"link":{"from":"CVE-2025-21609","to":"CVE-2026-23645","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20250103014808-d9887aeec1b2","toFixed":"0.0.0-20260116101155-11115da3d0de","daysApart":378}]}},{"cve":"CVE-2026-23847","published":"2026-01-19","fixed":"0.0.0-20260118021606-5c0cc375b475","kev":false},{"cve":"CVE-2026-23850","published":"2026-01-19","fixed":"0.0.0-20260118092326-b2274baba2e1","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}