express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Upgrading express From 4.6.1 to 4.7.0
1 release in betweenevery note read
- 3
- changes to make
- 0
- advisories fixed
- 1
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Deprecated4.7.0
- Deprecated4.7.0
- Deprecated4.7.0
Security
2 advisories still affect 4.7.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.
Release by release
- Deprecated
Deprecate
res.json(status, obj)-- useres.status(status).json(obj)instead - Deprecated
Deprecate
res.jsonp(status, obj)-- useres.status(status).jsonp(obj)instead - Deprecated
Deprecate
res.send(status, body)-- useres.status(status).send(body)instead - New
Prevent multiple
Buffercreation inres.send - Fixed
Fix
req.protocolfor proxy-direct connections
- Deprecated
1 other line we could not sort, mostly version bumps
- 4.7.0
Configurable query parser with
app.set('query parser', parser)
6 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.