Vulnerabilities

CVE-2025-21609

Critical 9.1 CVSS 3.1

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

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 credential-access
  • T1039: Data from Network Shared Drive collection
  • T1119: Automated Collection collection
  • T1213: Data from Information Repositories collection
  • T1530: Data from Cloud Storage collection
  • T1552.001: Credentials In Files credential-access
  • T1552.003: Shell History credential-access
  • T1552.004: Private Keys credential-access
  • T1552.006: Group Policy Preferences credential-access
  • T1555: Credentials from Password Stores credential-access
  • T1602: Data from Configuration Repository collection

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities