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

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. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

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 Wed, 14 May 2025 12:15:25 +0000.