{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2025-21609", "ASSIGNER": "security-advisories@github.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-459: Incomplete Cleanup", "cweId": "CWE-459" } ] }, { "description": [ { "lang": "eng", "value": "CWE-552: Files or Directories Accessible to External Parties", "cweId": "CWE-552" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "siyuan-note", "product": { "product_data": [ { "product_name": "siyuan", "version": { "version_data": [ { "version_affected": "=", "version_value": "= 3.1.18" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498", "refsource": "MISC", "name": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498" }, { "url": "https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3", "refsource": "MISC", "name": "https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3" } ] }, "source": { "advisory": "GHSA-8fx8-pffw-w498", "discovery": "UNKNOWN" } }