{"cve":"CVE-2021-37504","nvd":{"published":"2022-02-25T19:15:12.030","modified":"2026-07-09T01:17:00.063","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js","http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js","http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css","https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469","https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js"],"products":["hayageek:jquery_upload_file"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2021-37504","score":0.00867,"percentile":0.58719,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-43x9-7hfv-mxrf","url":"https://osv.dev/vulnerability/GHSA-43x9-7hfv-mxrf","summary":"jQuery-Upload-File XSS in fileNameStr","modified":"2024-04-02T20:56:42.825129Z","packages":[{"ecosystem":"npm","name":"jquery-file-upload","purl":"pkg:npm/jquery-file-upload","ranges":["<=4.0.11"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}