express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Upgrading express From 3.17.5 to 4.20.0
108 releases in betweennotes for 105
Reading releases, release notes and advisories…
Counted from 105 of 108 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Deprecated4.20.0
- Deprecated4.11.0
- Deprecated4.11.0
- Deprecated4.11.0
- Deprecated4.8.0
Security
Fixes 4 advisories affecting 3.17.5
- Express ressource injectionmoderate · GHSA-cm5g-3pgc-8rg4
- Express Open Redirect vulnerabilitylow · GHSA-jj78-5fmv-mv28
- express vulnerable to XSS via response.redirect()low · GHSA-qw6h-vgh9-j6wx
- Express.js Open Redirect in malformed URLsmoderate · GHSA-rv95-896h-c2vc
Release by release
- Deprecated
Deprecate
res.clearCookieacceptingoptions.maxAgeandoptions.expires - New
Document beta releases expectations
- New
Add a Threat Model
- New
Add CodeQL (SAST)
- New
Add support Node.js@22 in the CI
- New
Add OSSF Scorecard badge
- Fixed
Fix link variable use in attribution section of CODE OF CONDUCT
- Deprecated
- Security
- Fixed
Fix ci after location patch
- Fixed
Fixed un-edited version in history.md for 4.19.0
- Fixed
- Security
- New
Add note on how to update docs for new release
- Fixed
Fix routing requests without method
- Fixed
Parameter str is not described in JSDoc
- Fixed
Fix favicon-related bug in cookie-sessions example
- Fixed
- Fixed
Fix regression routing a large stack in a single route
- Fixed
- Fixed
Fix hanging on large stack of sync routes
- Fixed
- New
Add "root" option to
res.download
- New
66 other lines we could not sort, mostly version bumps
- 4.20.0
IMPORTANT: The default
depthlevel for parsing URL-encoded data is now32(previously wasInfinity) - 4.20.0
Remove link renderization in html while using
res.redirect - 4.20.0
4.19.2 Staging
- 4.20.0
Remove duplicate location test for data uri
- 4.20.0
Cut down on duplicated CI runs
- 4.20.0
Assign captain of encodeurl
- 4.20.0
Nominate jonchurch as repo captain for
http-errors,expressjs.com,morgan,cors,body-parser - 4.20.0
Skip QUERY method test
- 4.20.0
Ignore ETAG query test on 21 and 22, reuse skip util
- 4.20.0
List and sort all projects, add captains
279 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.