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.
References
Link | Resource |
---|---|
https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10 | Patch Third Party Advisory |
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117 | Exploit Third Party Advisory |
https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10 | Patch Third Party Advisory |
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117 | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 06:46
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10 - Patch, Third Party Advisory | |
References | () https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117 - Exploit, Third Party Advisory |
Information
Published : 2022-01-10 16:15
Updated : 2024-11-21 06:46
NVD link : CVE-2022-22117
Mitre link : CVE-2022-22117
CVE.ORG link : CVE-2022-22117
JSON object : View
Products Affected
rangerstudio
- directus
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')