express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
3.21.2 is the newest release of 3.x.
In short
1 changed1 internal
Security
5 advisories affect 3.7.0; 4.20.0 fixes the others
- ModerateExpress ressource injectionGHSA-cm5g-3pgc-8rg4 · 29 Oct 2024No fix yet
- ModerateExpress.js Open Redirect in malformed URLsGHSA-rv95-896h-c2vc · 25 Mar 2024Fixed in 4.19.2
- ModerateNo Charset in Content-Type Header in expressGHSA-gpvr-g6gh-9mc2 · 23 Oct 2018Fixed in 3.11.0
- LowExpress Open Redirect vulnerabilityGHSA-jj78-5fmv-mv28 · 3 Oct 2024No fix yet
- Lowexpress vulnerable to XSS via response.redirect()GHSA-qw6h-vgh9-j6wx · 10 Sep 2024Fixed in 4.20.0
Release note
Proper proxy trust with
app.set('trust proxy', trust)app.set('trust proxy', 1)trust first hopapp.set('trust proxy', 'loopback')trust loopback addressesapp.set('trust proxy', '10.0.0.1')trust single IPapp.set('trust proxy', '10.0.0.1/16')trust subnetapp.set('trust proxy', '10.0.0.1, 10.0.0.2')trust listapp.set('trust proxy', false)turn offapp.set('trust proxy', true)trust everything
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.