{"cve":"CVE-2025-21609","nvd":{"published":"2025-01-03T17:15:09.147","modified":"2026-06-17T08:43:50.857","status":"Analyzed","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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-552","CWE-459"],"references":["https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498"],"products":["b3log:siyuan"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2025-21609","score":0.00626,"percentile":0.50042,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8fx8-pffw-w498","url":"https://osv.dev/vulnerability/GHSA-8fx8-pffw-w498","summary":"SiYuan has an arbitrary file deletion vulnerability","modified":"2025-01-07T16:27:07.599038Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["all versions"],"fixed":[]}]},{"id":"GO-2025-3362","url":"https://osv.dev/vulnerability/GO-2025-3362","summary":"SiYuan has an arbitrary file deletion vulnerability in github.com/siyuan-note/siyuan/kernel","modified":"2026-03-03T04:56:10.741865Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}