Install
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
Source · Homepage · Ask AI Mode · · Markdown
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
- How to Verify Stripe, Clerk, and Lemon Squeezy Webhooks in Next.js 15 App Router without Breaking Raw-Body Parsing dev.to, 9 Nov 2026
- Stripe and Shopify Webhook HMAC-SHA256 Verification: Why JSON Body Parsers Break Raw-Body Signatures dev.to, 9 Nov 2026
- Body-Parser Flaw CVE-2026-111181 Lets One Request Crash Express Servers, PoC Public securityonline.info, 28 Oct 2026
- PayloadTooLargeError: request entity too large at readStream (/var/app/current/node_modules/raw-body/index.js:163:17) at getRawBody (/var/app/current/node_modules/raw-body/index.js:116:12) at read (/var/app/current/node_modules/body-parser/lib/read.js:79:3) at jsonParser (/var/app/current/node_modules/body-parser/lib/types/json.js:138:5) at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/var/app/current/node_modules/express/lib/router/index. news.ssbcrack.com, 9 Oct 2026
- PayloadTooLargeError: request entity too large at readStream (/var/app/current/node_modules/raw-body/index.js:163:17) at getRawBody (/var/app/current/node_modules/raw-body/index.js:116:12) at read (/var/app/current/node_modules/body-parser/lib/read.j news.ssbcrack.com, 27 Dec 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.