Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. express-fileupload
  4. ›
  5. CVE-2022-27140

CVE-2022-27140: Unrestricted Upload of File with Dangerous Type

April 12, 2022 (updated December 15, 2023)

An arbitrary file upload vulnerability in the file upload module of Express-Fileupload v1.3.1 allows attackers to execute arbitrary code via a crafted PHP file.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-27140
  • www.youtube.com/watch?v=4XpofFi84KI

Code Behaviors & Features

Detect and mitigate CVE-2022-27140 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

Version 1.3.1

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/express-fileupload/CVE-2022-27140.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:18 +0000.