Update dependency body-parser to v2 [SECURITY]#68
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
May 2, 2026 15:47
e02097f to
d79e3c6
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
May 16, 2026 07:43
1e558be to
0f91a30
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
May 24, 2026 10:32
5f9539b to
635d645
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
3 times, most recently
from
June 2, 2026 08:16
c5d1687 to
f701fd0
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
June 12, 2026 23:57
dfc4355 to
939fddd
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
2 times, most recently
from
June 20, 2026 12:02
095b637 to
c5f727b
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
June 21, 2026 19:03
c5f727b to
04f6fd1
Compare
renovate
Bot
force-pushed
the
renovate/npm-body-parser-vulnerability
branch
from
July 18, 2026 15:00
04f6fd1 to
b6ac71d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.18.3→^2.0.0body-parser is vulnerable to denial of service when url encoding is used
CVE-2025-13466 / GHSA-wqch-xfxh-vrr4
More information
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
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:PReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
expressjs/body-parser (body-parser)
v2.3.0Compare Source
========================
limitoption validation (#698)limitvalues (e.g. unparseable strings orNaN) now throw instead of being silently ignored, which previously disabled size limit enforcementnullandundefinedfall back to the default 100kb limitv2.2.2Compare Source
=========================
v2.2.1Compare Source
=========================
encodingExistsby using prototype-less objectsv2.2.0Compare Source
=========================
v2.1.0Compare Source
=========================
v2.0.2Compare Source
=========================
unpipepackage and use nativeunpipe()methodv2.0.1Compare Source
=========================
extendedtofalsev2.0.0Compare Source
=========================
Breaking Changes
req.bodyis no longer always initialized to{}undefinedunless a body is parsedbodyParser()combination middlewareas released, this is not the case, fixed in 2.0.1urlencodedparser now defaultsextendedtofalseurlencodedsimple parser now usesqsmodule instead ofquerystringmoduleFeatures
on-finishedto determine when body readDependencies
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.