Is node-fetch 3.0 vulnerable?

npm · 1 release from 3.0.0 to 3.0.0 · latest node-fetch is 3.3.2 · checked 1 Nov 2026

Yes: 2 known advisories

Yes. node-fetch 3.0.0, the last 3.0 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2022-0235, CVE-2022-2596. Upgrade to 3.2.10 or later to fix all of them.

Upgrade with:npm install node-fetch@3.2.10

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting node-fetch 3.0.0

  • MediumCVE-2022-2596GHSA-vp56-6g26-68272 Aug 2022

    node-fetch Inefficient Regular Expression Complexity

    Affected
    >=3.0.0 <3.2.10
    Fixed in
    3.2.10
  • HighCVE-2022-0235GHSA-r683-j2x4-v87g21 Jan 2022

    node-fetch forwards secure headers to untrusted sites

    Affected
    >=3.0.0 <3.1.1 · <2.6.7
    Fixed in
    2.6.7, 3.1.1

Which of your client projects are still on node-fetch 3.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact node-fetch version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other node-fetch versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.