Vulnerability 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).
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Johndatserakis | File-Upload-With-Preview | < 4.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/johndatserakis/file-upload-with-preview/blob/develop/src/fileBroken Link
- https://github.com/johndatserakis/file-upload-with-preview/pull/40/files?file-fiPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492Third Party Advisory
- https://github.com/johndatserakis/file-upload-with-preview/blob/develop/src/fileBroken Link
- https://github.com/johndatserakis/file-upload-with-preview/pull/40/files?file-fiPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492Third Party Advisory
FAQ
What is CVE-2021-23439?
CVE-2021-23439 is a vulnerability with a CVSS score of 4.2 (MEDIUM). 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).
How severe is CVE-2021-23439?
CVE-2021-23439 has been rated MEDIUM with a CVSS base score of 4.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23439?
Check the references section above for vendor advisories and patch information. Affected products include: Johndatserakis File-Upload-With-Preview.