~ / search / GHSA-97pv-4338-r5vp

GHSA-97pv-4338-r5vp

Cross-site Scripting in file-upload-with-preview

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-23439

Packages

EcosystemPackageAffectedFixed in
npm file-upload-with-preview < 4.2.0 4.2.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.