CVE-2025-13466
JSON

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 packageVersionsReported by
body-parser2.2.0CVE List
body-parser (npm)from 2.2.0 before 2.2.1GitHub Advisory Database

All scores

openjs5.5medium CVSS:4.0CVSS: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
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS: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

CWE-400

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

SourceRecordLicence
CVE ListCVE-2025-13466 changed 2025-11-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-wqch-xfxh-vrr4 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-13466 changed 2026-10-18Public domain