Insecure SSL Certificate Validation in xmlhttprequest-ssl Package

Insecure SSL Certificate Validation in xmlhttprequest-ssl Package

CVE-2021-31597 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

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.

Learn more about our Web Application Penetration Testing UK.