Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rangerstudio | Directus | >= 9.0.1, <= 9.4.1 |
Related Weaknesses (CWE)
References
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd2693PatchThird Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117ExploitThird Party Advisory
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd2693PatchThird Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117ExploitThird Party Advisory
FAQ
What is CVE-2022-22117?
CVE-2022-22117 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 a...
How severe is CVE-2022-22117?
CVE-2022-22117 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-22117?
Check the references section above for vendor advisories and patch information. Affected products include: Rangerstudio Directus.