CVE-2022-22116

Directus - Stored Cross-Site Scripting (XSS) via SVG File Upload

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

Read the record on cve.org

Description

In Directus, versions 9.0.0-alpha.4 through 9.4.1 are vulnerable to stored Cross-Site Scripting (XSS) vulnerability via SVG file upload in media upload functionality. A low privileged attacker can inject arbitrary javascript code which will be executed in a victim’s browser when they open the image URL.

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.