express 4.17.1 → 5.1.0| ID | Aliases | Severity | Summary | Fixed in |
|---|---|---|---|---|
| GHSA-qw6h-vgh9-j6wx | CVE-2024-43796 |
MEDIUM | express vulnerable to XSS via response.redirect() | 4.20.0 / 5.0.0 |
| GHSA-rv95-896h-c2vc | CVE-2024-29041 |
MEDIUM | Express.js Open Redirect in malformed URLs | 4.19.2 / 5.0.0-beta.3 |
router.del = router.delete was removed and the route was renamed to use router.delete() directly.res.redirect(req.get('Referrer') || '/') fallback URL matches your application's expected behaviour for the /api/* catch-all route.res.sendStatus(201) and res.sendStatus(204) responses satisfy any API clients that depended on an empty body (sendStatus sends the status text as body)./*splat wildcard in /files/*splat correctly joins multi-segment paths (e.g. /files/a/b/c) as expected by downstream consumers.req.query mutation does not affect any middleware that ran after the GET /tasks handler and relied on the normalised query values.app.js, routes/admin.js, and routes/tasks.js use deprecated Express 4 APIs (e.g. plugins, custom middleware).npm audit and review the 3 remaining high-severity notices (not related to express itself).