Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2020-28502 EUVD-2021-1094GHSA-h4j5-c7cj-74xg

Arbitrary Code Injection

Published Mar 5, 2021 · Updated Sep 16, 2024 · Assigned by snyk

Description

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.

Affected products

VendorProductAffectedFixed
— xmlhttprequest unspecified – < 1.7.0 1.7.0
— xmlhttprequest-ssl < unspecified unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-xmlhttprequest 1.8.0-1 —
Debian 13 node-xmlhttprequest 1.8.0-1 —
Debian 12 node-xmlhttprequest 1.8.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-xmlhttprequest-ssl No fix yet —
Ubuntu 18.04 LTS node-xmlhttprequest +1 No fix yet —
Ubuntu 16.04 LTS node-xmlhttprequest No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm xmlhttprequest < 1.7.0 1.7.0 GHSA-h4j5-c7cj-74xg
npm xmlhttprequest-ssl < 1.6.2 1.6.2 GHSA-h4j5-c7cj-74xg

Advisories 1

References