# body-parser (npm)

Node.js body parsing middleware

- Latest: 2.4.0 (2026-10-22)
- Licence: MIT
- Downloads: 896094082 last month
- Advisories on the latest version: 0

- CVE-2026-111181 HIGH: body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body Fixed in 2.4.0, 1.20.9.
- CVE-2026-12590 LOW: body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement Fixed in 1.20.6, 2.3.0.
- CVE-2025-13466 MODERATE: body-parser is vulnerable to denial of service when url encoding is used Fixed in 2.2.1.
- CVE-2024-45590 HIGH: body-parser vulnerable to denial of service when url encoding is enabled Fixed in 1.20.3.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
