express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
4.22.3 is the newest release of 4.x.
In short
3 deprecated1 new2 fixed1 changed3 internal
- Deprecated
Deprecate leading
:innameforapp.param(name, fn) - Deprecated
Deprecate
req.param()-- usereq.params,req.body, orreq.queryinstead - Deprecated
Deprecate
app.param(fn)
Security
2 advisories affect 4.11.0; 4.20.0 fixes them
- ModerateExpress.js Open Redirect in malformed URLsGHSA-rv95-896h-c2vc · 25 Mar 2024Fixed in 4.19.2
- Lowexpress vulnerable to XSS via response.redirect()GHSA-qw6h-vgh9-j6wx · 10 Sep 2024Fixed in 4.20.0
Release note
Add
res.append(field, val)to append headers- Deprecated
Deprecate leading
:innameforapp.param(name, fn) - Deprecated
Deprecate
req.param()-- usereq.params,req.body, orreq.queryinstead - Deprecated
Deprecate
app.param(fn) Fix
OPTIONSresponses to include theHEADmethod properlyFix
res.sendFilenot always detecting aborted connectionMatch routes iteratively to prevent stack overflows
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.