CVSS v3
9.4
CRITICAL
EPSS Score
2.0 %
exploit probability, as of 2026-09-25
CISA KEV
No
known exploited
Exploitation
—
SSVC status
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.
Technical details
- Published
- 2021-04-23
Frequently asked questions
What is 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.
Is CVE-2021-31597 actively exploited?
Active exploitation of CVE-2021-31597 has not been confirmed. Its EPSS score was 2.0% on 2026-09-25, the estimated probability of exploitation in the next 30 days.
What is the CVSS score for CVE-2021-31597?
CVE-2021-31597 has a CVSS v3 base score of 9.4 (CRITICAL severity).
Is CVE-2021-31597 affecting your environment?
Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.
No credit card required · 500 free checks/month · Free API key
Other 2021 vulnerabilities worth triaging
Ranked by exploit probability (EPSS).