Vulnerability library
Security checkNovember 29, 2023

Improper Certificate Validation in xmlhttprequest-ssl

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the xmlhttprequest-ssl package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.6.1
  • Patched version(s): 1.6.1

References

Could your website be exposed too?

SmartScanner can check your website for Improper Certificate Validation in xmlhttprequest-ssl and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 29, 2023