CVE-2022-22117

published 10 Jan 2022 · updated 16 Sep 2024

Directus - Stored Cross-Site Scripting (XSS) in Profile Avatar Image

5.4MediumCVSS 5.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in unspecified.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
directus<=9.4.1, >=9.0.0 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-22117 severity on Zeptric[![CVE-2022-22117](https://zeptric.io/badge/cve/CVE-2022-22117.svg)](https://zeptric.io/cve/CVE-2022-22117)