GitHub Advisoryadvisory · npm

GHSA-97pv-4338-r5vp Cross-site Scripting in file-upload-with-preview

MEDIUM Published 2021-09-07 Modified 2021-09-07 Official page ↗
Aliases
CVE-2021-23439
Ecosystem
npm
Packages
file-upload-with-preview
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-09-07

Affected packages

• npm file-upload-with-preview: < 4.2.0 → fixed in 4.2.0

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).

Related

Alias · CVE (1)

  • CVE-2021-23439 This affects the package file-upload-with-preview before 4.2.0. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References