express
5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed
5.3.0 is the newest release of 5.x.
In short
1 breaking2 removed2 security2 changed
- Breaking
For a complete list of breaking changes and API deprecations, see the migration guide.
- Removed
Node.js version support: Dropped support for Node.js versions before v18.
- Removed
Deprecated API methods removed: Removed old, deprecated API method signatures from Express v3/v4.
- Security
Routing changes: Updated to
path-to-regexp@8.x, removing sub-expression regex patterns for security reasons (ReDoS mitigation). - Security
This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for CVE-2024-45590.
Release note
The section about express of a note shared by several packages.
Express v5.0.0
🎉 Express v5 is finally here! 🎉
After years of development, the long-awaited Express v5 has been officially released. This version focuses on simplifying the codebase, improving security, and dropping support for older Node.js versions to enable better performance and maintainability.
For detailed information, please check out the official Express v5 release blog post.
Most relevant details
Major Changes in v5
- Removed
Node.js version support: Dropped support for Node.js versions before v18.
- Security
Routing changes: Updated to
path-to-regexp@8.x, removing sub-expression regex patterns for security reasons (ReDoS mitigation). Promise support: Middleware can now return rejected promises, caught by the router as errors.
body-parserchanges: Several improvements including the ability to customizeurlencodedbody depth and defaultingextendedtofalse.- Removed
Deprecated API methods removed: Removed old, deprecated API method signatures from Express v3/v4.
For a complete list of breaking changes and API deprecations, see the migration guide.
Security Updates
This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for CVE-2024-45590. Full details can be found in the security release notes.
Migration
Be sure to check out our migration guide for instructions on how to update your applications from Express v4 to v5.
Security Guidance
For best practices, we recommend reviewing the Threat Model which outlines Express' approach to securing your applications, including tips for user input validation and other critical aspects.
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.