CVE-2022-22117
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Summary
In Directus, versions 9.0.0-alpha.4 through 9.4.1 allow unrestricted file upload of .html files in the media upload functionality, which leads to Cross-Site Scripting vulnerability. A low privileged attacker can upload a crafted HTML file as a profile avatar, and when an admin or another user opens it, the XSS payload gets triggered.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| directus | directus | 9.0.0 < unspecified | affected |
| directus | directus | unspecified <= 9.4.1 | affected |
Weaknesses
- CWE-79: CWE-79 Cross-site Scripting (XSS)
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117
References
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.