CVE-2022-22116

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

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 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.

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-27265 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.
History

No history.

Weaknesses

Sources

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