Advisory

GHSA-wqch-xfxh-vrr4

Also known as: CVE-2025-13466

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-25 14:20 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

body-parser

npm · All systems

Affected

  • introduced 2.2.0, fixed 2.2.1 (semver)

Fixed versions

2.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences