Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2025-21609

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

January 3, 2025 (updated October 31, 2025)

A arbitrary file deletion vulnerability has been identified in the latest version of Siyuan Note. 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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2025-21609 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup
  • CWE-552: Files or Directories Accessible to External Parties

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2025-21609.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.