Impact
The vulnerability causes SiYuan to log API tokens that are passed as query parameters into a plaintext log file when a full-text search request exceeds certain timing thresholds. An attacker who has authenticated access to the system can then read this log file through the getFile endpoint and obtain admin API tokens, which allows them to achieve permanent administrative privileges. This flaw is a classic example of insecure logging (CWE‑532).
Affected Systems
SiYuan (siyuan-note:siyuan) versions earlier than 3.8.2 are affected.
Risk and Exploitability
The CVSS score is 8.7, indicating high severity, while no EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Attacks require the attacker to be authenticated to the application and able to trigger a full‑text search that exceeds the timing threshold, after which the attacker reads the log via the getFile API. If the log file is exposed, the extraction of API tokens is straightforward and grants continuous administrative access.
OpenCVE Enrichment