9.3critical
SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads that execute with full OS command access when a user drags, drops, or pastes the file into the editor.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| siyuan-note siyuan | before 3.7.4 Not affected: 3.7.4 | CVE List |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| VulnCheck | 8.6high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads that execute with full OS command access when a user drags, drops, or pastes the file into the editor.
NVD (es)
SiYuan antes de la v3.7.4 contiene una vulnerabilidad de cross-site scripting en el flujo de validación de carga de archivos que no logra escapar los nombres de archivo antes de insertarlos en HTML a través de insertAdjacentHTML. Los atacantes pueden crear un nombre de archivo malicioso que contiene cargas útiles de script que se ejecutan con acceso completo a comandos del sistema operativo cuando un usuario arrastra, suelta o pega el archivo en el editor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74902 changed 2026-10-08 | CVE Terms of Use |
| NVD | CVE-2026-74902 changed 2026-10-22 | Public domain |