SiYuan 3.5.4 before 3.8.7 on Windows contains a sensitive-path denylist bypass in IsSensitivePath because the Windows extended-length prefix (\\?\)…
SiYuan 3.5.4 before 3.8.7 on Windows contains a sensitive-path denylist bypass in IsSensitivePath because the Windows extended-length prefix (\\?\) survives filepath.Clean and matches no forbidden prefix. Authenticated API callers can prepend the prefix to localPath in /api/import/importStdMd to copy workspace conf files, including the API token and TLS private keys, into assets served to unauthenticated clients.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Siyuan-Note
- Product
- siyuan
- CVSS v3.1
- 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-22
- NVD status
- Deferred
Why it ranks 10 (Routine)
- CVSS v3.1 7.5 high
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.