### [CVE-2022-22116](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22116) ![](https://img.shields.io/static/v1?label=Product&message=directus&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%209.0.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen) ### 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. ### POC #### Reference - https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22116 - https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22116 #### Github No PoCs found on GitHub currently.