npm package
node-fetch 3.1.0 vulnerabilities, and the version that fixes all of them
node-fetch 3.1.0 has 2 known vulnerabilities (1 rated high or critical); 3.2.10 fixes all of them.
npm (opens in a new tab) describes it as “A light-weight module that brings Fetch API to node.js”
- Known vulnerabilities
- 2
- 1 rated high or critical
- Released
- Nov 8, 2021
- Latest is 3.3.2
- Downloads last week
- 5.6K
- Under 1% of node-fetch downloads
- Licence
- MIT
- Pulls in
- 5 packages
- Resolved by deps.dev
What to upgrade to
3.2.10 is the closest release with no known vulnerabilities.
3.2.10Upgrade to this
Fixes all 2 known vulnerabilities. Released Jul 31, 2022.
No known vulnerabilitiesNewest 3.x release and the latest release. Released Jul 25, 2023.
No known vulnerabilities
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
2 known vulnerabilities in node-fetch 3.1.0
EPSS: top 24%1 rated high or critical. Most serious: CVE-2022-0235, node-fetch forwards secure headers to untrusted sites. Upgrading to 3.2.10 fixes all of them.
- LowOutdated
node-fetch 3.1.0 is a minor version behind
Latest release is 3.3.2.
Every advisory for node-fetch 3.1.0
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2022-0235 on OSV.dev (opens in a new tab)GHSA-r683-j2x4-v87gEPSS: top 24%
node-fetch forwards secure headers to untrusted sites
Fixed in 3.1.1. Published Jan 21, 2022.
WarningCVE-2022-2596 on OSV.dev (opens in a new tab)GHSA-vp56-6g26-6827EPSS: top 31%
node-fetch Inefficient Regular Expression Complexity
Fixed in 3.2.10. Published Aug 2, 2022.
Who is still on a vulnerable node-fetch
3% of last week’s 208.7M node-fetch downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is node-fetch the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly node-fetch 3.1.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.