CVE-2025-13466

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

State
Published
Severity
5.5 Medium
Published
Nov 24, 2025
Updated
Nov 24, 2025
Reserved
Nov 20, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.5 MediumCVSS: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:Yopenjs

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
body-parserbody-parser
  • 2.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.