chore(deps): Bump body-parser from 1.20.3 to 1.20.6
Bumps body-parser from 1.20.3 to 1.20.6.
Release notes
Sourced from body-parser's releases.
1.20.6
Important: Security
- Security fix for CVE-2026-12590 (GHSA-v422-hmwv-36x6)
What's Changed
- fix: improve limit option validation by
@Phillip9587in expressjs/body-parser#741Full Changelog: https://github.com/expressjs/body-parser/compare/1.20.5...1.20.6
v1.20.5
What's Changed
The reason for this release is a fix to the extended urlencoded parser returning objects instead of arrays for large array inputs (> 100) on qs@6.14.2+. (expressjs/body-parser#716)
- refactor(json): simplify strict mode error string construction by
@jonchurchin expressjs/body-parser#692- fix: correct off-by-one error in parameterCount by
@abhu85in expressjs/body-parser#716- deps(qs): bump qs to 6.15.1 by
@jonchurchin expressjs/body-parser#722- Release: 1.20.5 by
@jonchurchin expressjs/body-parser#721New Contributors
@abhu85made their first contribution in expressjs/body-parser#716Special thanks to triager
@krzysdzfor keeping this on our radar and effectively triaging the specific issue!Full Changelog: https://github.com/expressjs/body-parser/compare/1.20.4...1.20.5
1.20.4
What's Changed
- Remove redundant depth check by
@blakeembreyin expressjs/body-parser#538- ci: add support for Node.js v23 by
@Phillip9587in expressjs/body-parser#553- ci: restore CI for 1.x branch by
@bjohansebasin expressjs/body-parser#665- deps: qs@^6.14.0 by
@bjohansebasin expressjs/body-parser#664- deps: use tilde notation and update certain dependencies by
@Phillip9587in expressjs/body-parser#668- chore: remove SECURITY.md by
@Phillip9587in expressjs/body-parser#669- ci: add CodeQL (SAST) by
@Phillip9587in expressjs/body-parser#670- Release: 1.20.4 by
@UlisesGasconin expressjs/body-parser#672Full Changelog: https://github.com/expressjs/body-parser/compare/1.20.3...1.20.4
Changelog
Sourced from body-parser's changelog.
1.20.6 / 2026-07-09
- Security fix for GHSA-v422-hmwv-36x6
- fix: improve
limitoption validation (#698)
- Invalid
limitvalues (e.g. unparseable strings orNaN) now throw instead of being silently ignored, which previously disabled size limit enforcementnullandundefinedfall back to the default 100kb limit1.20.5 / 2026-04-24
- refactor(json): simplify strict mode error string construction
- fix: extended urlencoded parsing of arrays with >100 elements (#716)
- deps: qs@~6.15.1
1.20.4 / 2025-12-01
- deps: qs@~6.14.0
- deps: use tilde notation for dependencies
- deps: http-errors@~2.0.1
- deps: raw-body@~2.5.3
Commits
5cc4fb81.20.6 (#746)3492672fix: improve limit option validation (#741)0defdberelease(patch): 1.20.5cd0e7a0deps(qs): bump qs to 6.15.16f24d7efix: correct off-by-one error in parameterCount (#716)b849bd5deps: qs@~6.14.1 (#690)2c55e2frefactor(json): simplify strict mode error string construction (#692)7db202c1.20.4 (#672)d8f8adbci: add CodeQL (SAST) (#670)6d133c1chore: remove SECURITY.md (#669)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade body-parser from 1.20.3 to 1.20.6 to address a security advisory and improve request size limit validation in the backend. Lockfiles updated.
-
Dependencies
- Bumped
body-parserto 1.20.6 (security fix; stricterlimitvalidation). - Updated transitives via lockfiles, including
qsto 6.15.3 andiconv-liteto 0.7.3.
- Bumped
-
Migration
- If you set
limitonbodyParser.json()orbodyParser.urlencoded(), ensure it’s a valid number or parseable string. Invalid values now throw.
- If you set