express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
4.22.3 is the newest release of 4.x.
In short
3 new1 faster2 fixed4 changed11 internal
Security
2 advisories affect 4.14.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
acceptRangesoption tores.sendFile/res.sendfileAdd
cacheControloption tores.sendFile/res.sendfileAdd
optionsargument toreq.rangeIncludes the
combineoption
Encode URL in
res.location/res.redirectif not already encodedFix some redirect handling in
res.sendFile/res.sendfileFix Windows absolute path check using forward slashes
Improve error with invalid arguments to
req.get()Improve performance for
res.json/res.jsonpin most casesImprove
Rangeheader handling inres.sendFile/res.sendfileUse strict equality when possible
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.