cve.bz

CVE-2021-23439

6.1 mediumEPSS 0.9%

Medium (6.1) in johndatserakis file-upload-with-preview. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in file-upload-with-preview 4.2.0.

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

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.9% chance of exploitation in the next 30 days; higher than 59% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-97pv-4338-r5vpnpmfile-upload-with-preview<4.2.04.2.0

References

Check your stackJSON