express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Upgrading express From 4.4.5 to 4.5.0
1 release in betweenevery note read
Before you upgrade
Tick each one off as you go- Deprecated4.5.0
- Deprecated4.5.0
Security
2 advisories still affect 4.5.0
- express vulnerable to XSS via response.redirect()low · GHSA-qw6h-vgh9-j6wx
- Express.js Open Redirect in malformed URLsmoderate · GHSA-rv95-896h-c2vc
Upgrading to 4.20.0 clears them.
Fixes 1 advisory affecting 4.4.5
- No Charset in Content-Type Header in expressmoderate · GHSA-gpvr-g6gh-9mc2
Release by release
- Deprecated
Deprecate things with
depdmodule - Deprecated
Deprecate
req.host-- usereq.hostnameinstead - New
Add deprecation message to non-plural
req.accepts* - New
Add deprecation message to
res.send(body, status)
- Deprecated
3 other lines we could not sort, mostly version bumps
- 4.5.0
Invoke
router.param()only when route matches - 4.5.0
Use
finalhandlerfor final response handling - 4.5.0
Use
media-typerto alter content-type charset
4 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.