Description
SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an accessible log file when full-text search requests exceed timing thresholds. Authenticated attackers can read the log file via the getFile endpoint to recover admin API tokens and gain permanent administrative access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.2 | 3.8.2 |
References
- GitHub Security Advisory (GHSA-3wvc-5754-gp67) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.2 API Token Exposure via Log File third-party-advisory