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).
Recommendation
Update the file-upload-with-preview package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.2.0
- Patched version(s): 4.2.0
References
Could your website be exposed too?
SmartScanner can check your website for Cross-site Scripting in file-upload-with-preview and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-site Scripting in quill - CVE-2021-3163
- Cross-site Scripting in curly-bracket-parser - CVE-2021-23416
- Cross-site Scripting in video.js - CVE-2021-23414
- Options structure open to Cross-site Scripting if passed unfiltered - CVE-2021-29489


