{"id":"CVE-2021-37504","aliases":["CVE-2021-37504","GHSA-43x9-7hfv-mxrf"],"related":[],"kind":"vulnerability","state":"published","title":"jQuery-Upload-File XSS in fileNameStr","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de tipo cross-site scripting (XSS) en el parámetro fileNameStr de jQuery-Upload-File v4.0.11 permite a atacantes ejecutar scripts web o HTML arbitrarios por medio de un archivo diseñado con una carga útil de Javascript en el nombre del archivo.","source":"nvd"}],"published":"2022-02-25T18:15:47.000Z","modified":"2026-07-09T01:17:00.063Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"4.0.11"}],"ecosystem":"npm","package":"jquery-file-upload","purl":"pkg:npm/jquery-file-upload","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.0.11"}],"vendor":"hayageek","product":"jquery_upload_file","cpe":"cpe:2.3:a:hayageek:jquery_upload_file:4.0.11:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37504","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hayageek/jquery-upload-file","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-37504","url":"https://www.cve.org/CVERecord?id=CVE-2021-37504","licence":"CVE Terms of Use","modified":"2026-07-09T00:14:33.004Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-43x9-7hfv-mxrf","url":"https://github.com/advisories/GHSA-43x9-7hfv-mxrf","licence":"CC-BY-4.0","modified":"2024-04-02T20:56:42.825Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-37504","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37504","licence":"Public domain","modified":"2026-07-09T01:17:00.063Z"}],"updatedAt":"2026-11-25T22:58:07.072Z","epss":{"score":0.00867,"percentile":0.5636,"date":"2026-11-30T12:00:22.000Z"}}