Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. file-upload-with-preview
  4. ›
  5. CVE-2021-23439

CVE-2021-23439: Cross-site Scripting

September 5, 2021 (updated September 10, 2021)

This affects the package file-upload-with-preview A file containing malicious JavaScript code in the name can be uploaded (a user needs to be tricked into uploading such a file).

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23439

Code Behaviors & Features

Detect and mitigate CVE-2021-23439 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.2.0

Fixed versions

  • 4.2.0

Solution

Upgrade to version 4.2.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Source file

npm/file-upload-with-preview/CVE-2021-23439.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:49 +0000.