CISA list

● npm package

body-parser

Body-parser has four security advisories. The newest release any of them names as the fix is 2.4.0.

As of , body-parser has four security advisories. The newest release any of them names as the fix is 2.4.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 2.0.0 before 2.4.02.4.03 advisories
Before 1.20.91.20.93 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-111181GHSA-27r3-jxmh-p828body-parser vulnerable to Denial of Service via trailing bytes after a compressed request bodyHigh severityFrom 2.0.0 before 2.4.0; Before 1.20.91.20.9, 2.4.0
CVE-2026-12590GHSA-v422-hmwv-36x6body-parser vulnerable to denial of service when invalid limit value silently disables size enforcementLow severityFrom 2.0.0 before 2.3.0; Before 1.20.61.20.6, 2.3.0
CVE-2025-13466GHSA-wqch-xfxh-vrr4body-parser is vulnerable to denial of service when url encoding is usedModerate severityFrom 2.2.0 before 2.2.12.2.1
CVE-2024-45590GHSA-qwcr-r2fm-qrc7body-parser vulnerable to denial of service when url encoding is enabledHigh severityBefore 1.20.31.20.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0