NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-13466: body-parser is vulnerable to denial of service when url encoding is used

mediumCVSS 4.0 5.5 · 3.1 5.3GHSA-wqch-xfxh-vrr4

Impact body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.

Published Nov 25, 2025

Affected packages

body-parser

Ecosystem
npm
Affected
>= 2.2.0, < 2.2.1
Fixed in
2.2.1
Check
npm ls body-parser

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.

Patches

This issue is addressed in version 2.2.1.

Credited to Phillip9587, bjohansebas, UlisesGascon, ctcpip, sheplu, jonchurch.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries