GHSA-h4j5-c7cj-74xg

Suggest an improvement
Source
https://github.com/advisories/GHSA-h4j5-c7cj-74xg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-h4j5-c7cj-74xg/GHSA-h4j5-c7cj-74xg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-h4j5-c7cj-74xg
Aliases
Published
2021-05-04T18:02:34Z
Modified
2025-01-08T07:27:06Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-03-18T20:34:02Z",
    "nvd_published_at":  "2021-03-05T18:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / xmlhttprequest

Package

Name
xmlhttprequest
View open source insights on deps.dev
Purl
pkg:npm/xmlhttprequest

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-h4j5-c7cj-74xg/GHSA-h4j5-c7cj-74xg.json"

npm / xmlhttprequest-ssl

Package

Name
xmlhttprequest-ssl
View open source insights on deps.dev
Purl
pkg:npm/xmlhttprequest-ssl

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-h4j5-c7cj-74xg/GHSA-h4j5-c7cj-74xg.json"