express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Upgrading express From 3.5.1 to 3.21.2
59 releases in betweennotes for 58
Reading releases, release notes and advisories…
Counted from 58 of 59 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated3.14.0
- Deprecated3.11.0
- Deprecated3.6.0
- Deprecated3.6.0
- Deprecated3.6.0
Security
4 advisories still affect 3.21.2
- 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
Upgrading to 4.20.0 clears them.
Fixes 1 advisory affecting 3.5.1
- No Charset in Content-Type Header in expressmoderate · GHSA-gpvr-g6gh-9mc2
Release by release
3.20.2 – 3.21.25 releases, nothing new or fixed in the notes
- Fixed
Fix
req.hostwhen using "trust proxy" hops count - Fixed
Fix
req.protocol/req.securewhen using "trust proxy" hops count
- Fixed
- Fixed
Fix
"trust proxy"setting to inherit when app is mounted
- Fixed
3.19.1 – 3.19.22 releases, nothing new or fixed in the notes
- Fixed
Fix
OPTIONSresponses to include theHEADmethod property
- Fixed
- Fixed
Fix exception in
req.fresh/req.stalewithout response headers
- Fixed
3.18.2 – 3.18.54 releases, nothing new or fixed in the notes
- Fixed
Fix internal
utils.mergedeprecation warnings
- Fixed
17 other lines we could not sort, mostly version bumps
- 3.20.0
Generate
ETags for all request responses - 3.20.0
Use
content-typeto parseContent-Typeheaders - 3.19.0
Use
readlinefor prompt inexpress(1) - 3.18.0
Use
content-dispositionmodule forres.attachment/res.download - 3.18.0
Use
etagmodule to generateETagheaders - 3.17.2
Use
crcinstead ofbuffer-crc32for speed - 3.15.0
Pass options from
res.sendfiletosend - 3.14.0
Remove unnecessary escaping when
res.jsonpreturns JSON response - 3.13.0
Use
basic-authto parseAuthorizationheader - 3.12.0
Use
media-typerto alter content-type charset
127 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.