express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
Your version
4.22.3 is the newest release of 4.x.
In short
1 deprecated2 new3 internal
- Deprecated
Deprecate
res.sendfile-- useres.sendFileinstead
Security
2 advisories affect 4.8.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.sendFileaccepts a file system path instead of a URL
requires an absolute path or
rootoption specified
- Deprecated
Deprecate
res.sendfile-- useres.sendFileinstead Support mounted app as any argument to
app.use()
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.