body-parser

Node.js body parsing middleware

2.4.0Latest, 22 Oct 2026
896MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
5.5KStars
7.4/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body CVE-2026-111181 Fixed in 2.4.0, 1.20.9 23 Oct 2026
Low body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement CVE-2026-12590 Fixed in 1.20.6, 2.3.0 20 Jul 2026
Moderate body-parser is vulnerable to denial of service when url encoding is used CVE-2025-13466 Fixed in 2.2.1 25 Nov 2025
High body-parser vulnerable to denial of service when url encoding is enabled CVE-2024-45590 Fixed in 1.20.3 10 Sep 2024

In the news

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