Critical severity9.4NVD Advisory· Published Apr 23, 2021· Updated Jun 17, 2026
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
3- cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:*Range: <1.6.1
- Node.js/xmlhttprequest-ssldescription
Patches
Vulnerability mechanics
References
7- github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2nvdPatchThird Party AdvisoryWEB
- github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1nvdPatchRelease NotesThird Party AdvisoryWEB
- people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txtnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-72mh-269x-7mh5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31597ghsaADVISORY
- security.netapp.com/advisory/ntap-20210618-0004/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20210618-0004ghsaWEB
News mentions
0No linked articles in our index yet.