NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2022-0235 — node-fetch

MEDIUMFix: node-fetch/node-fetch@36e47e8

CVE-2022-0235 is a medium-severity (CVSS 6.1) Information Exposure vulnerability in node-fetch. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for node-fetch — see the affected versions and patch details below.

Exposure of Sensitive Information to an Unauthorized Actor in node-fetch/node-fetch

Also known asGHSA-r683-j2x4-v87g
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-0235.

EPSS Exploitation Probability

via FIRST.org ↗
1.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs77th percentile — riskier than 77% of all scored CVEsHighest risk
0.00%0.72%1.44%2.15%0.3%1.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

45Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
node-fetchnpm
275.6Mdownloads / week

Description

node-fetch forwards secure headers such as authorization, www-authenticate, cookie, & cookie2 when redirecting to a untrusted site.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npmnode-fetch≥ 3.0.0&&< 3.1.13.1.1npm install node-fetch@3.1.1
📦npmnode-fetchall versions2.6.7npm install node-fetch@2.6.7

Affected Products

3 products · 6 configurations
OS
debian linuxdebian
1 version
10.0
Application
node-fetchnode-fetch_project
≥ 3.0.0 && < 3.1.1
range
Application
sinec inssiemens
< 1.0
1 version
1.0
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for node-fetch, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update node-fetch to 3.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-0235 is resolved across your whole dependency graph.

  3. Workarounds

    Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This flaw is out of support scope for dotnet-5.0. For more information about Dotnet product support scope, please see https://access.redhat.com/support/policy/updates/net-core

ProductFixed inAdvisory
OpenShift Service Mesh 2.1openshift-service-mesh/kiali-rhel8:1.36.9-1RHSA-2022:1739
Red Hat Data Grid 8.4.0node-fetchRHSA-2022:8524
Red Hat Enterprise Linux 8nodejs:14-8070020221212161539.bd1311edRHSA-2023:0050
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aRHSA-2023:1742
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-ui-rhel8:v1.7.2-9RHSA-2022:5483
Red Hat OpenShift Container Platform 4.11openshift4/ose-thanos-rhel8:v4.11.0-202208020235.p0.gf08da2d.assembly.streamRHSA-2022:5069
Red Hat OpenShift Data Foundation 4.11 on RHEL8odf4/mcg-core-rhel8:v4.11.0-30RHSA-2022:6156
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.21.1-3.el7RHSA-2023:0612

Frequently Asked Questions

node-fetch forwards secure headers such as `authorization`, `www-authenticate`, `cookie`, & `cookie2` when redirecting to a untrusted site.
O3 Security · Impact-Aware SCA

Is CVE-2022-0235 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-0235: node-fetch — Fixed in 3.1.1