npm package
body-parser 1.20.4 vulnerability, and the version that fixes it
body-parser 1.20.4 has 1 known vulnerability; 1.20.6 fixes it.
npm (opens in a new tab) describes it as “Node.js body parsing middleware”
- Known vulnerabilities
- 1
- None rated high or critical
- Released
- Dec 1, 2025
- Latest is 2.3.0
- Downloads last week
- 8.2M
- 6% of body-parser downloads
- Licence
- MIT
- Pulls in
- 43 packages
- Resolved by deps.dev
What to upgrade to
1.20.6 is the closest release with no known vulnerabilities.
1.20.6Upgrade to this
Fixes the known vulnerability. Released Jul 9, 2026.
No known vulnerabilitiesNewest 1.x release. Released Sep 8, 2026.
No known vulnerabilitiesLatest release. Released Jun 15, 2026.
No known vulnerabilities
1.20.6 came out on Jul 9, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Findings
- LowVulnerability
CVE-2026-12590 in body-parser 1.20.4
EPSS: top 67%body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement. Fixed in 1.20.6.
- LowOutdated
body-parser 1.20.4 is 1 major version behind
Latest release is 2.3.0.
Every advisory for body-parser 1.20.4
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.
LowCVE-2026-12590 on OSV.dev (opens in a new tab)GHSA-v422-hmwv-36x6EPSS: top 67%
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
Fixed in 1.20.6. Published Jul 20, 2026.
Who is still on a vulnerable body-parser
43% of last week’s 148.7M body-parser 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 body-parser 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 body-parser 1.20.4, 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.