Critical severityNVD Advisory· Published Apr 22, 2021· Updated Aug 3, 2024
CVE-2021-31597
CVE-2021-31597
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
xmlhttprequest-sslnpm | < 1.6.1 | 1.6.1 |
Affected products
2- Node.js/xmlhttprequest-ssldescription
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-72mh-269x-7mh5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31597ghsaADVISORY
- github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2ghsax_refsource_MISCWEB
- github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1ghsax_refsource_MISCWEB
- people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txtghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20210618-0004ghsaWEB
- security.netapp.com/advisory/ntap-20210618-0004/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.