Description (CNA)
SiYuan before v3.7.4 fails to set Content-Disposition and X-Content-Type-Options headers when serving arbitrary file assets, allowing stored cross-site scripting attacks. Authenticated attackers can upload HTML files as assets and execute scripts with full kernel API access when the workspace owner opens the asset link.
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-mjf3-jwmf-r6wf
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-assets-endpoint
ADP enrichment
No English description supplied.
No references supplied.