CVE-2025-21609
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-01-03
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.6 %
higher than 45 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| B3log | Siyuan | 3.1.18 | Affected |
| github.com/siyuan-note/siyuan | kernel (Go) | all versions listed | Affected |
Weakness type
-
CWE-459: Incomplete Cleanup
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
-
CWE-552: Files or Directories Accessible to External Parties
The product makes files or directories accessible to unauthorized actors, even though they should not be.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1003: OS Credential Dumping
- T1039: Data from Network Shared Drive
- T1119: Automated Collection
- T1213: Data from Information Repositories
- T1530: Data from Cloud Storage
- T1552.001: Credentials In Files
- T1552.003: Shell History
- T1552.004: Private Keys
- T1552.006: Group Policy Preferences
- T1555: Credentials from Password Stores
- T1602: Data from Configuration Repository
References
- https://github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
Eleven forgotten boot loaders let attackers walk around Secure Boot
Same product
2026-08-18
ESET found eleven old boot loaders signed by Microsoft and never revoked. They can be used to run code before the operating system starts, on machine…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.