{"id":"CVE-2020-28502","aliases":["CVE-2020-28502","GHSA-h4j5-c7cj-74xg"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Injection","summary":"This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.","source":"cvelist"},{"lang":"en","text":"This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (`async=False` on `xhr.open`), malicious user input flowing into `xhr.send` could result in arbitrary code being injected and run.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete xmlhttprequest versiones anteriores a 1.7.0;&#xa0;todas las versiones del paquete xmlhttprequest-ssl.&#xa0;Siempre que las peticiones son enviadas de forma sincrónica (async=False en xhr.open), la entrada de un usuario malicioso que fluye hacia xhr.send podría resultar en una inyección y ejecución de código arbitraria","source":"nvd"}],"published":"2021-03-05T17:25:16.408Z","modified":"2026-06-17T03:10:33.037Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.7.0","status":"affected"}],"product":"xmlhttprequest","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"xmlhttprequest-ssl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.0"}],"ecosystem":"npm","package":"xmlhttprequest","purl":"pkg:npm/xmlhttprequest","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.2"}],"ecosystem":"npm","package":"xmlhttprequest-ssl","purl":"pkg:npm/xmlhttprequest-ssl","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.7.0"}],"vendor":"xmlhttprequest_project","product":"xmlhttprequest","cpe":"cpe:2.3:a:xmlhttprequest_project:xmlhttprequest:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28502","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/driverdan/node-XMLHttpRequest/commit/983cfc244c7567ad6a59e366e55a8037e0497fe6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mjwwit/node-XMLHttpRequest/commit/ee1e81fc67729c7c0eba5537ed7fe1e30a6b3291","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js#L480","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mjwwit/node-XMLHttpRequest/blob/ae38832a0f1347c5e96dda665402509a3458e302/lib/XMLHttpRequest.js#L531","tags":["web"],"sources":["ghsa"]}],"credits":["rinsuki"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28502","url":"https://www.cve.org/CVERecord?id=CVE-2020-28502","licence":"CVE Terms of Use","modified":"2024-09-16T22:55:22.529Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h4j5-c7cj-74xg","url":"https://github.com/advisories/GHSA-h4j5-c7cj-74xg","licence":"CC-BY-4.0","modified":"2025-01-14T08:57:22.719Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28502","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28502","licence":"Public domain","modified":"2026-06-17T03:10:33.037Z"}],"updatedAt":"2026-11-25T22:57:57.535Z","epss":{"score":0.04629,"percentile":0.91904,"date":"2026-12-01T12:00:22.000Z"}}