Vulnerability · Published Nov 24, 2025 · Assigned by openjs
CVE-2025-13466body-parser vulnerable to denial of service when url encoding is used
Medium 5.5
In plain English
A medium-severity uncontrolled resource consumption in body-parser from body-parser. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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. This issue is addressed in version 2.2.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | node-body-parser | 2.2.1+~1.19.6-1 | DEBIAN-CVE-2025-13466 |
| Ubuntu:22.04:LTS | node-body-parser | no fix listed | UBUNTU-CVE-2025-13466 |
| Ubuntu:24.04:LTS | node-body-parser | no fix listed | UBUNTU-CVE-2025-13466 |
| Ubuntu:25.10 | node-body-parser | no fix listed | UBUNTU-CVE-2025-13466 |
| Ubuntu:26.04:LTS | node-body-parser | no fix listed | UBUNTU-CVE-2025-13466 |
| Ubuntu:26.10 | node-body-parser | no fix listed | UBUNTU-CVE-2025-13466 |
| npm | body-parser | 2.2.1 | GHSA-wqch-xfxh-vrr4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| body-parser | body-parser | 2.2.0 |
Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:P/AU:Y