express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Upgrading express From 4.0.0 to 4.22.3
94 releases in betweennotes for 92
Counted from 92 of 94 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking4.22.1
- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Breaking4.13.0
- Deprecated4.21.0
- Deprecated4.20.0
- Deprecated4.11.0
- Deprecated4.11.0
Security
Fixes 3 advisories affecting 4.0.0
- No Charset in Content-Type Header in expressmoderate · GHSA-gpvr-g6gh-9mc2
- express vulnerable to XSS via response.redirect()low · GHSA-qw6h-vgh9-j6wx
- Express.js Open Redirect in malformed URLsmoderate · GHSA-rv95-896h-c2vc
- 4.22.3
Update path-to-regexp to 0.1.13 to fix CVE-2026-4867
- 4.22.1
There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected).
- 4.22.0
Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
- 4.21.1
Backport a fix for CVE-2024-47764 to the 4.x branch
- 4.19.2
- 4.19.0
Release by release
- Security
Update path-to-regexp to 0.1.13 to fix CVE-2026-4867
- New
Allow conditional revalidation for QUERY requests (v4)
- Security
- Fixed
Restore >20 array parsing for
req.queryrepeated keys
- Fixed
- Security
There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected).
- Breaking
The prior release (4.22.0) included an erroneous breaking change related to the extended query parser.
- Security
- Security
Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
- Security
- New
Add funding field (v4)
- New
- Security
Backport a fix for CVE-2024-47764 to the 4.x branch
- Security
- Deprecated
Deprecate
"back"magic string in redirects
- Deprecated
- 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
67 other lines we could not sort, mostly version bumps
- 4.22.0
Method functions with no path should error
- 4.22.0
Use tilde notation for certain dependencies
- 4.21.0
Upgraded dependency qs to 6.13.0 to match qs in body-parser
- 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
249 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.