CVE-2022-22117

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

State
Published
Severity
5.4 Medium
Published
Jan 10, 2022
Updated
Sep 16, 2024
Reserved
Dec 21, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NMend

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
directusdirectus
  • 9.0.0 to before unspecifiedAffected
  • 9.4.1 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.