Is body-parser 1.20 vulnerable?

npm · 9 releases from 1.20.0 to 1.20.9 · latest body-parser is 2.4.0 · checked 1 Nov 2026

No known advisories in the last release

body-parser 1.20.9, the last 1.20 release, has no known advisories. 3 advisories affect earlier 1.20.x releases, so update to 1.20.9.

Update within 1.20:npm install body-parser@1.20.9

Is your project affected?

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

Fixed within 1.20.x, affecting earlier releases

  • HighCVE-2026-111181GHSA-27r3-jxmh-p82823 Oct 2026

    body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body

    Affected
    >=2.0.0 <2.4.0 · <1.20.9
    Fixed in
    1.20.9, 2.4.0
  • LowCVE-2026-12590GHSA-v422-hmwv-36x620 Jul 2026

    body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement

    Affected
    <1.20.6 · >=2.0.0 <2.3.0
    Fixed in
    1.20.6, 2.3.0
  • HighCVE-2024-45590GHSA-qwcr-r2fm-qrc710 Sept 2024

    body-parser vulnerable to denial of service when url encoding is enabled

    Affected
    <1.20.3
    Fixed in
    1.20.3

Which of your client projects are still on body-parser 1.20?

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

Other body-parser 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.