Vulnerabilities · 2025 · B3log
CVE-2025-21609
B3log Siyuan vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Siyuan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether B3log Siyuan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-8fx8-pffw-w498 · Exploit
- github.com/siyuan-note/siyuan/commit/d9887aeec1b27073bec66299a9a4181dc42969f3 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-21609
- github.com/advisories/GHSA-8fx8-pffw-w498
- nvd.nist.gov/vuln/detail/CVE-2025-21609
- cve.org/CVERecord?id=CVE-2025-21609
More vulnerabilities in B3log products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.