CVE-2022-22117
Last modified
CVE-2022-22117 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.63% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rangerstudio | Directus | >= 9.0.1, <= 9.4.1 |
| Rangerstudio | Directus | 9.0.0 |
References
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10Patch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117Exploit, Third Party Advisory
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10Patch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-22117?
How severe is CVE-2022-22117?
How do I fix CVE-2022-22117?
Are you affected by CVE-2022-22117?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
