VDB
Sign up
CRITICAL9.4

GHSA-72mh-269x-7mh5

Improper Certificate Validation in xmlhttprequest-ssl

Quick fix

GHSA-72mh-269x-7mh5 — xmlhttprequest-ssl: upgrade to the fixed version with the command below.

npm install xmlhttprequest-ssl@1.6.1

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/xmlhttprequest-ssl
Introduced in: 0Fixed in: 1.6.1
Fixnpm install xmlhttprequest-ssl@1.6.1

References