Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-23439

22
FAUCET Score

CVE-2021-23439 is a medium-severity vulnerability affecting the 'file-upload-with-preview' package prior to version 4.2.0. It allows an attacker to upload a file with malicious JavaScript embedded in its filename, which could lead to cross-site scripting (XSS) if a user is tricked into uploading such a file. The attack requires user interaction and has low impact on confidentiality and integrity, with no impact on availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.2.0CPE matchmatch criteria
cpe:2.3:a:johndatserakis:file-upload-with-preview:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

4.2MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
1.6
Impact Score
2.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.89%
Probability of exploitation in next 30 days
EPSS Percentile
55.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0089 is in the 66th percentile among its peer group of 26,234 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: file-upload-with-previewFixed in: 4.2.0

Vendor Advisories (1)

npmGHSA-97pv-4338-r5vpmedium

Cross-site Scripting in file-upload-with-preview

Sep 7, 2021

References

github.com / johndatserakis/file-upload-with-preview/blob/develop/src/file-upload-with-preview.js%23L168
Broken Link
github.com / johndatserakis/file-upload-with-preview/pull/40/files
PatchThird Party Advisory
snyk.io / vuln/SNYK-JS-FILEUPLOADWITHPREVIEW-1579492
Third Party Advisory