{"id":"GHSA-43x9-7hfv-mxrf","summary":"jQuery-Upload-File XSS in fileNameStr","details":"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.","aliases":["CVE-2021-37504"],"modified":"2024-04-02T20:56:42.825129Z","published":"2022-02-26T00:00:39Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-04-02T20:31:01Z","nvd_published_at":"2022-02-25T19:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37504"},{"type":"PACKAGE","url":"https://github.com/hayageek/jquery-upload-file"},{"type":"WEB","url":"https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469"}],"affected":[{"package":{"name":"jquery-file-upload","ecosystem":"npm","purl":"pkg:npm/jquery-file-upload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"4.0.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-43x9-7hfv-mxrf/GHSA-43x9-7hfv-mxrf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}