CVE-2025-13466
body-parser vulnerable to denial of service when url encoding is used
Also known as GHSA-wqch-xfxh-vrr4
Mitigation
- Upgrade body-parser to 2.2.1 or later.
Who should check
- Projects that depend on npm package body-parser (>= 2.2.0, < 2.2.1)
- Anyone running body-parser 2.2.0
Vulnerability facts
- Affected
- body-parser >= 2.2.0, < 2.2.1
- Fixed in
- 2.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.5 (v4.0, CNA)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:YOpen in CVSS calculator
Show all 13 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: Low
- Exploit maturity: Proof of concept
- AU: Y
- EPSS
- 0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-400
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm body-parser | >= 2.2.0, < 2.2.1 | 2.2.1 | osv |
| body-parser | 2.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-13466. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-13466.md Affected: body-parser >= 2.2.0, < 2.2.1 Fixed in: 2.2.1 Steps: 1. Search this machine and project for body-parser (npm), body-parser: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-13466 being exploited?
There is no confirmed exploitation: CVE-2025-13466 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-13466?
Medium: CVSS 5.5 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-13466?
body-parser >= 2.2.0, < 2.2.1.
Is there a fix for CVE-2025-13466?
Yes. Fixed in 2.2.1. Upgrade body-parser to 2.2.1 or later.
How do I check if I'm affected by CVE-2025-13466?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.