XSS in Directus

CVE-2022-22117

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (46.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-22117?
CVE-2022-22117 is a medium-severity vulnerability in Directus, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-01-10.
How severe is CVE-2022-22117?
Medium severity. CVSS v3 base score is 5.4 out of 10.