Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.7.4; unaffected 3.7.4 |
CWE
CWE-79
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp
- https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload
ADP enrichment
No English description supplied.
No references supplied.