The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate…
Priority MEDIUM 44CWE-295Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.
Summary
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.
Why it matters now
EPSS 0.02039 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial xmlhttprequest-ssl (npm): 1.6.1Red Hat: 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | xmlhttprequest-ssl (npm) | before 1.6.1 | 1.6.1 | Patch available | GHSA-72mh-269x-7mh5 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- xmlhttprequest-ssl (npm) Vendor— Affected before 1.6.1 Fixed in 1.6.1 Patch available GHSA-72mh-269x-7mh5
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:* | before 1.6.1 | Vulnerable | Xmlhttprequest-ssl Project |
- cpe:2.3:a:xmlhttprequest-ssl_project:xmlhttprequest-ssl:*:*:*:*:*:node.js:*:* Versions before 1.6.1 Vulnerable ·Xmlhttprequest-ssl Project
Remediation
- Fix · GHSA-72mh-269x-7mh5 xmlhttprequest-ssl (npm) Fixed in 1.6.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat 3scale API Management Platform 2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-31597
- 2026-10-03 Alias added: GHSA-72mh-269x-7mh5
References
Patch 2
Advisory 2
Sources
- CVE-2021-31597 · CVE Program
- CVE-2021-31597 · NVD
- FIRST EPSS
- GHSA-72mh-269x-7mh5 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-31597 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences