express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Your version
3.21.2 is the newest release of 3.x.
npm marks 3.9.0 as deprecated: No longer maintained. Please upgrade to a stable version.
In short
3 changed2 internal
Security
5 advisories affect 3.9.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
Custom etag control with
app.set('etag', val)app.set('etag', function(body, encoding){ return '"etag"' })custom etag generationapp.set('etag', 'weak')weak tagapp.set('etag', 'strong')strong etagapp.set('etag', false)turn offapp.set('etag', true)standard etag
Include ETag in HEAD requests
Mark
res.sendETag as weak and reduce collisions
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.