{"id":"CVE-2025-21609","aliases":["GHSA-8fx8-pffw-w498","GO-2025-3362"],"url":"https://o3.security/vulnerability/CVE-2025-21609","summary":"SiYuan has an arbitrary file deletion vulnerability","details":"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.","published":"2025-01-03T16:26:36.420Z","modified":"2026-08-08T03:47:52.030339062Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","fixedVersion":null}],"fix":{"url":"https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3","label":"siyuan-note/siyuan@d9887ae"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21609.json"},{"type":"ADVISORY","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21609"},{"type":"FIX","url":"https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:47:52.030339062Z"}}