cve.bz

CVE-2021-31597

9.4 criticalEPSS 2.0%

Critical (9.4) in xmlhttprequest-ssl project xmlhttprequest-ssl. EPSS 2.0% chance of exploitation in the next 30 days. Fixed in xmlhttprequest-ssl 1.6.1.

The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate validation by default, because rejectUnauthorized (when the property exists but is undefined) is considered to be false within the https.request function of Node.js. In other words, no certificate is ever rejected.

Severity

CVSS 3.1

9.4 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS
2.0% chance of exploitation in the next 30 days; higher than 81% of CVEs (scores of 2026-10-31)
CWE
CWE-295
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-72mh-269x-7mh5npmxmlhttprequest-ssl<1.6.11.6.1

References

Check your stackJSON