{"id":"CVE-2021-37504","aliases":["EUVD-2022-0802","GHSA-43x9-7hfv-mxrf"],"status":"published","title":"jQuery-Upload-File XSS in fileNameStr","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00867,"percentile":0.59013,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-02-25T18:15:47Z","modified":"2026-07-09T01:17:00Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"jquery-file-upload","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.0.11"}]}]},{"source":"osv","ecosystem":"npm","package":"jquery-file-upload","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"4.0.11"}]}]}],"products":[{"vendor":"hayageek","product":"jquery_upload_file"}],"references":[{"url":"http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37504","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-43x9-7hfv-mxrf"},{"url":"https://github.com/hayageek/jquery-upload-file","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-37504","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.","status":"published","published":"2022-02-25T18:15:47Z","modified":"2026-07-09T00:14:33.004Z","updated_at":"2026-11-02T14:32:58.359368Z"}],"euvd":[{"id":"EUVD-2022-0802","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.","status":"published","published":"2022-02-25T18:15:47Z","modified":"2026-07-09T00:14:33Z","updated_at":"2026-11-02T18:20:08.60883Z"}],"ghsa":[{"id":"GHSA-43x9-7hfv-mxrf","title":"jQuery-Upload-File XSS in fileNameStr","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.","status":"published","published":"2022-02-26T00:00:39Z","modified":"2024-04-02T20:31:04Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:42.744468Z"}],"nvd":[{"id":"CVE-2021-37504","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.","status":"published","published":"2022-02-25T19:15:12.03Z","modified":"2026-07-09T01:17:00.063Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:05.198719Z"}],"osv":[{"id":"GHSA-43x9-7hfv-mxrf","title":"jQuery-Upload-File XSS in fileNameStr","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.","status":"published","published":"2022-02-26T00:00:39Z","modified":"2024-04-02T20:56:42.825129Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:36.434231Z"}]}}
