express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
3.21.2 is the newest release of 3.x.
In short
1 deprecated1 new1 fixed1 changed2 internal
- Deprecated
Deprecate
res.redirect(url, status)-- useres.redirect(status, url)instead
Security
4 advisories affect 3.14.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
- 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
Add explicit "Rosetta Flash JSONP abuse" protection
previous versions are not vulnerable; this is just explicit protection
- Deprecated
Deprecate
res.redirect(url, status)-- useres.redirect(status, url)instead Fix
res.send(status, num)to sendnumas json (not error)Remove unnecessary escaping when
res.jsonpreturns JSON response
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.