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.
Upgrade to version 1.6.1 or later
CPE | Name | Operator | Version |
---|---|---|---|
xmlhttprequest-ssl | lt | 1.6.1 |