ADVISORIES

Vulnerability

CVE-2021-31597

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.

3 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Azure Linux 1Ubuntu 1npm 1

Advisories

  • AZL-45213

    CVE-2021-31597 affecting package js-jquery 3.5.0-4

    CVE-2021-31597 Azure Linux Updated 23 November 2026
  • GHSA-72mh-269x-7mh5

    Improper Certificate Validation in xmlhttprequest-ssl

    Critical CVE-2021-31597 npm Updated 8 November 2023
  • UBUNTU-CVE-2021-31597

    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…

    CVE-2021-31597 Ubuntu Updated 24 October 2025

References