{"id":"GHSA-43x9-7hfv-mxrf","revision":"89fb6a0eec2e424b894a5778fb3cfe08","records":[{"revision":"89fb6a0eec2e424b894a5778fb3cfe08","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-43x9-7hfv-mxrf","aliases":["CVE-2021-37504"],"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.","state":0,"publishedAt":"2022-02-26T00:00:39+00:00","modifiedAt":"2024-04-02T20:56:42.825129+00:00","affected":[{"ecosystem":"npm","name":"jquery-file-upload","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"4.0.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-37504","https://github.com/hayageek/jquery-upload-file","https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469"],"sourceUrl":"https://github.com/advisories/GHSA-43x9-7hfv-mxrf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-43x9-7hfv-mxrf","identifiers":["GHSA-43x9-7hfv-mxrf","CVE-2021-37504"]},"retained":false,"historicalAffected":[]}],"coverage":[]}