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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10
Exploit, Third Party Advisory x_refsource_misc
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22116
Scores
CVSS v3
5.4
EPSS
0.0021
EPSS Percentile
42.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (1)
rangerstudio/directus
9.0.0 (50 CPE variants)
Published
Jan 10, 2022
Tracked Since
Feb 18, 2026