### [CVE-2021-23439](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23439) ![](https://img.shields.io/static/v1?label=Product&message=file-upload-with-preview&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%204.2.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen) ### Description This affects the package file-upload-with-preview before 4.2.0. A file containing malicious JavaScript code in the name can be uploaded (a user needs to be tricked into uploading such a file). ### POC #### Reference - https://snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492 #### Github No PoCs found on GitHub currently.