---
title: "GHSA-wqch-xfxh-vrr4: body-parser is vulnerable to denial of service when url encoding is used"
description: "Moderate severity. body-parser is vulnerable to denial of service when url encoding is used. Affects body-parser; fixed in 2.2.1."
url: https://inlinr.com/advisories/GHSA-wqch-xfxh-vrr4
lang: en
---

[Packages](https://inlinr.com/packages) / [body-parser](https://inlinr.com/packages/body-parser) / [Security](https://inlinr.com/packages/body-parser/security)

Moderate Vulnerability GHSA-wqch-xfxh-vrr4 CVE-2025-13466 Published 25 Nov 2025

# body-parser is vulnerable to denial of service when url encoding is used

Your version 

Affected releases · [body-parser](https://inlinr.com/packages/body-parser)

- 2.x 2.2.0 Fixed in 2.2.1

On 2.x, the newest line:

```
npm install body-parser@2.2.1
```

Every release on a timeline

1. Not affected

1.0.0 – 2.1.0  
80 releases
2. Affected

2.2.0  
1 release
3. Fixed

2.2.1 – 2.4.0  
4 releases, latest

85 stable releases of body-parser, oldest to newest.

## What happens

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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: low

CVSS:3.1/​AV:N/​AC:L/​PR:N/​UI:N/​S:U/​C:N/​I:N/​A:L

## References

- [Reference](https://github.com/expressjs/body-parser/security/advisories/GHSA-wqch-xfxh-vrr4 "https://github.com/expressjs/body-parser/security/advisories/GHSA-wqch-xfxh-vrr4")  
github.com/expressjs/body-parser/security/advis…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-13466 "https://nvd.nist.gov/vuln/detail/CVE-2025-13466")  
nvd.nist.gov/vuln/detail/CVE-2025-13466
- [Fix commit](https://github.com/expressjs/body-parser/commit/b204886a6744b0b6d297cd0e849d75de836f3b63 "https://github.com/expressjs/body-parser/commit/b204886a6744b0b6d297cd0e849d75de836f3b63")  
b204886
- [Package](https://github.com/expressjs/body-parser "https://github.com/expressjs/body-parser")  
github.com/expressjs/body-parser
- [Reference](https://github.com/expressjs/body-parser/releases/tag/v2.2.1 "https://github.com/expressjs/body-parser/releases/tag/v2.2.1")  
github.com/expressjs/body-parser/releases/tag/v…
