CVE-2021-23439
Cross-site Scripting (XSS)
- State
- Published
- Severity
- 4.2 Medium
- Published
- Sep 5, 2021
- Updated
- Sep 16, 2024
- Reserved
- Jan 8, 2021
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.2 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
file-upload-with-previewn/a |
|
References
- https://snyk.io/vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492
- https://github.com/johndatserakis/file-upload-with-preview/blob/develop/src/file-upload-with-preview.js%23L168
- https://github.com/johndatserakis/file-upload-with-preview/pull/40/files?file-filters%5B%5D=.js&hide-deleted-files=true%23diff-fe47b243de17419c0daa22cd785cd754baed60cf3679d3da1d6fe006f9f4a7f0R174
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.