{"schema_version":"1.9.0","id":"CVE-2025-21609","published":"2025-01-03T16:26:36.420Z","modified":"2026-08-12T03:51:17.956307227Z","aliases":["GHSA-8fx8-pffw-w498","GO-2025-3362"],"related":["SUSE-SU-2025:0060-1","openSUSE-SU-2025:14624-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/siyuan-note/siyuan","events":[{"introduced":"adc819973b71901ef0b163eb3f8dd85016bf0796"},{"fixed":"d9887aeec1b27073bec66299a9a4181dc42969f3"}],"database_specific":{"cpe":"cpe:2.3:a:b3log:siyuan:3.1.18:-:*:*:*:*:*:*","extracted_events":[{"introduced":"3.1.18-NA"},{"last_affected":"3.1.18-NA"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["3.1.18-NA","= 3.1.18","v3.1.18"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21609.json"}}],"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"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-459","CWE-552"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21609.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}