# CVE-2025-21609: SiYuan has an arbitrary file deletion vulnerability

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-01-03 · Modified: 2025-01-03
- Aliases: GHSA-8fx8-pffw-w498, GO-2025-3362
- Record: https://cvemate.com/vulnerability/CVE-2025-21609 · JSON: https://cvemate.com/vulnerability/CVE-2025-21609/json

## 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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.626%, percentile 51.479%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log siyuan: 3.1.18
- github.com/siyuan-note/siyuan kernel (Go): All versions (No fix recorded)
- siyuan-note siyuan: = 3.1.18

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498>
- <https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21609>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T10:18:09.277Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
