Description
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.
Severity (CVSS)
| Base score | 9.4 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 to <3.7.4; 3.7.4 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-mjf3-jwmf-r6wf (vendor-advisory)
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-assets-endpoint (third-party-advisory)
Generated from the official CVE List on 18 Aug 2026 07:05 UTC.