Medium, CVSS 4.2npmAmendedPublished
Cross-site Scripting in file-upload-with-preview
CVE-2021-23439 · GHSA-97pv-4338-r5vp
- Affected
- npm file-upload-with-preview < 4.2.0
- Fixed in
- 4.2.0· Vendor fix available
- Issue
- 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).
Recommended action: Upgrade to 4.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.