Cross-site Scripting in file-upload-with-preview
Moderate severity
GitHub Reviewed
Published
Sep 7, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Sep 5, 2021
Reviewed
Sep 7, 2021
Published to the GitHub Advisory Database
Sep 7, 2021
Last updated
Feb 1, 2023
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).
References