CVE-2022-22116

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

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

Solution:

  • Update to directus version 9.4.2

Category

5.4
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.19%
Third-Party Advisory github.com Third-Party Advisory whitesourcesoftware.com
Affected: directus directus
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-22116?
CVE-2022-22116 has been scored as a medium severity vulnerability.
How to fix CVE-2022-22116?
To fix CVE-2022-22116: Update to directus version 9.4.2
Is CVE-2022-22116 being actively exploited in the wild?
It is possible that CVE-2022-22116 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-22116?
CVE-2022-22116 affects directus directus.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.