Advisory

GHSA-h4j5-c7cj-74xg

Also known as: CVE-2020-28502

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-04 18:02 UTC
Modified
2025-01-14 08:57 UTC

Affected packages and fixes

xmlhttprequest

npm · All systems

Affected

  • introduced 0, fixed 1.7.0 (semver)

Fixed versions

1.7.0

Fix

xmlhttprequest-ssl

npm · All systems

Affected

  • introduced 0, fixed 1.6.2 (semver)

Fixed versions

1.6.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences