5.5medium
body-parser vulnerable to denial of service when url encoding is used
- Severity
- 5.5medium CVSS:4.0 by openjs
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openjs
- Also known as
- GHSA-wqch-xfxh-vrr4
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
| Product or package | Versions | Reported by |
|---|---|---|
| body-parser | 2.2.0 | CVE List |
| body-parser (npm) | from 2.2.0 before 2.2.1 | GitHub Advisory Database |
All scores
| openjs | 5.5medium CVSS:4.0 | 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 |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
body-parser 2.2.0 es vulnerable a denegación de servicio debido al manejo ineficiente de cuerpos codificados en URL con un número muy grande de parámetros. Un atacante puede enviar cargas útiles que contienen miles de parámetros dentro del límite predeterminado de tamaño de solicitud de 100KB, causando un uso elevado de CPU y memoria. Esto puede llevar a una ralentización del servicio o interrupciones parciales bajo tráfico malicioso sostenido. Este problema se aborda en la versión 2.2.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13466 changed 2025-11-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wqch-xfxh-vrr4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-13466 changed 2026-10-18 | Public domain |