CVE-2021-23439
Johndatserakis File-upload-with-preview vulnerability
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).
Affected products
File-upload-with-preview. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Johndatserakis File-upload-with-preview runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/johndatserakis/file-upload-with-preview/pull/40/files?file-filters%5B%5D=.js&hi · Patch
- snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492 · Third Party Advisory
- github.com/johndatserakis/file-upload-with-preview/blob/develop/src/file-upload-with-previ
- nvd.nist.gov/vuln/detail/CVE-2021-23439
- cve.org/CVERecord?id=CVE-2021-23439
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.