CVE-2021-31597: Xmlhttprequest-SSL Project Xmlhttprequest-SSL
Critical severity, CVSS 9.4. EPSS: 2% chance of exploitation in the next 30 days.
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.
Affected products
- Xmlhttprequest-SSL Project Xmlhttprequest-SSL: before 1.6.1 (fixed in 1.6.1)
Published 2021-04-23. Last modified 2026-06-17.