Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-31597

29
FAUCET Score

CVE-2021-31597 describes a critical vulnerability in the xmlhttprequest-ssl package for Node.js, affecting versions prior to 1.6.1. The flaw stems from the package's default behavior of disabling SSL certificate validation, effectively making all certificates trusted due to how Node.js's https.request function handles an undefined rejectUnauthorized property. This vulnerability carries a CVSS score of 9.4 (CRITICAL), indicating it can be exploited remotely with low attack complexity, leading to high impact on confidentiality and integrity, and low impact on availability. While there is no evidence of active exploitation (KEV list inactive) and no public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered some community discussion and media coverage, suggesting awareness within the cybersecurity community.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.6.1CPE matchmatch criteria
cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

9.4CRITICAL

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
5.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.06%
Probability of exploitation in next 30 days
EPSS Percentile
79.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0206 is in the 68th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: xmlhttprequest-sslFixed in: 1.6.1
redhatvendor investigatingvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-rhel8

Vendor Advisories (2)

npmGHSA-72mh-269x-7mh5critical

Improper Certificate Validation in xmlhttprequest-ssl

May 24, 2021
redhatCVE-2021-31597Important

xmlhttprequest-ssl: SSL certificate validation disabled by default

Apr 23, 2021

References

github.com / mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2
PatchThird Party Advisory
github.com / mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1
PatchRelease NotesThird Party Advisory
people.kingsds.network / wesgarland/xmlhttprequest-ssl-vuln.txt
ExploitThird Party Advisory
security.netapp.com / advisory/ntap-20210618-0004
Third Party Advisory