# CVE-2018-9207: jquery-file-upload unrestricted file upload

Source: https://junglewise.ai/threats/cve-2018-9207-jquery-file-upload-unrestricted-file-upload  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-12-19. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2018-9207 · Severity: low · CVSS 3 · Published 2018-12-19

jquery-file-upload is a JavaScript library that enables file uploads in web applications. Versions up to 4.0.2 contain a vulnerability that allows attackers to upload arbitrary files without type restrictions, potentially leading to remote code execution or malicious file distribution through the affected web server.

Technologies: [jquery-file-upload (npm)](https://junglewise.ai/threats/technologies/jquery-file-upload). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2018-9207 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-9207 being exploited in the wild.

**How severe is CVE-2018-9207?** Low severity, with a CVSS score of 3, published 19 December 2018.

**Which products and versions are affected?** jquery-file-upload (npm) SEMVER:introduced=0,fixed=4.0.5.

**Is there a fix for CVE-2018-9207?** Yes. jquery-file-upload (npm): upgrade to 4.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2018-9207 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2018-9207?** Check whether you run jquery-file-upload (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- jquery-file-upload (npm): upgrade to 4.0.5 or later

  ```sh
  npm install jquery-file-upload@4.0.5
  ```


## Technical details

This is an unrestricted file upload vulnerability (CWE-434) in jquery-file-upload versions <= 4.0.2. The library fails to properly validate uploaded file types, allowing attackers to bypass file type restrictions and upload dangerous executables or scripts. The vulnerability requires only network access with no authentication or user interaction needed. An attacker can upload malicious files (e.g., PHP shells, executables) that the server will process, leading to remote code execution or compromise of the hosting environment. The vulnerability was fixed in version 4.0.5.

## Affected products

- jquery-file-upload <= 4.0.2

## Identifiers

- CVE-2018-9207
- GHSA-mxr5-p36v-479m

## Timeline

- 2018-12-19: disclosed
- 2018-12-19: patched: Fixed in version 4.0.5

## Related threats

- [jQuery-Upload-File XSS in fileNameStr](https://junglewise.ai/threats/cve-2021-37504-jquery-upload-file-xss-in-filenamestr)
