CVE-2021-37504 json
jQuery-Upload-File XSS in fileNameStr
published 2022-02-25 4 y ago modified 2026-07-09 4 mo ago also GHSA-43x9-7hfv-mxrf , EUVD-2022-0802
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
A cross-site scripting (XSS) vulnerability in the fileNameStr parameter of jQuery-Upload-File v4.0.11 allows attackers to execute arbitrary web scripts or HTML via a crafted file with a Javascript payload in the file name.
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jquery-file-upload | <=4.0.11 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
ajax.googleapis.com
/ajax/libs/jquery/1.9.1/jquery.min.js
third-party-advisory
-
hayageek.github.io
/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js
third-party-advisory
-
hayageek.github.io
/jQuery-Upload-File/4.0.11/uploadfile.css
third-party-advisory
-
github.com
/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469
web, third-party-advisory
-
raw.githubusercontent.com
/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37504
advisory
-
github.com
/hayageek/jquery-upload-file
package
Sources
- CVE List CVE-2021-37504
- GitHub Advisory GHSA-43x9-7hfv-mxrf
- NVD CVE-2021-37504
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.