Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-23439: This affects the package file-upload-with-preview before 4.2.0

30
Routine
MEDIUM 4.2UPGRADE

CVE-2021-23439 is a medium-severity flaw (CVSS 4.2) affecting file-upload-with-preview. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score4.2 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.9% (top 41%)
CISA exploited listNo
WeaknessCWE-79
Published2021-09-05
Last modified2026-06-17
Publisher (CNA): Snyk · Vendor: johndatserakis

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

johndatserakis file-upload-with-preview UPGRADE
Affected: < 4.2.0
Fixed in: 4.2.0
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls file-upload-with-preview
2. UPGRADE to 4.2.0
npm install file-upload-with-preview@">=4.2.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-23439?

file-upload-with-preview: upgrade to 4.2.0. Exact commands for each OS are on this page.

Is CVE-2021-23439 being exploited?

CVE-2021-23439 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-23439 affect?

CVE-2021-23439 affects file-upload-with-preview. Severity is medium (CVSS 4.2). 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).

How urgent is CVE-2021-23439?

Priority 30/100. No elevated risk signals yet.

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.