XSS in Johndatserakis File-Upload-With-Preview
CVE-2021-23439
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).
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.009 (56.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.
Affected products
- Johndatserakis File-upload-with-preview
- N/a File-upload-with-preview — versions unspecified
Weakness classification (CWE)
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (x_refsource_MISC, Broken Link)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-23439?
- CVE-2021-23439 is a medium-severity vulnerability in Johndatserakis File-Upload-With-Preview, classified under Cross-site Scripting. CVSS score: 4.2/10. Published 2021-09-05.
- How severe is CVE-2021-23439?
- Medium severity. CVSS v3 base score is 4.2 out of 10.