CVE-2022-22117

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

Published Jan 10, 2022 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Update to directus version 9.4.2

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-27266 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mend
Published
Updated
Sep 16, 2024, 6:44 PM
Reserved
Dec 21, 2021, 12:00 AM
Status
Modified
Published
Jan 10, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:27 AM