# CVE-2024-29041: node-express: Express.js minimalist web framework for node

CVE-2024-29041 is fixed in node-express on 1 platform, first by DEBIAN-CVE-2024-29041, released March 25, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-29041
- Priority: Routine
- CVSS: 6.1 (medium)
- EPSS: 0.0079
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 25, 2024

## Description

Express.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://github.com/pillarjs/encodeurl) on the contents before passing it to the `location` header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list. The main method impacted is `res.location()` but this is also called from within `res.redirect()`. The vulnerability is fixed in 4.19.2 and 5.0.0-beta.3.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | node-express Debian 13.5 (trixie) | 4.19.2+~cs8.36.21-1 | [DEBIAN-CVE-2024-29041](https://patchblox.com/security/data/fix/linux/debian-cve-2024-29041.md) | Mar 25, 2024 |
| Linux | node-express Debian 14 | 4.19.2+~cs8.36.21-1 | [DEBIAN-CVE-2024-29041](https://patchblox.com/security/data/fix/linux/debian-cve-2024-29041.md) | Mar 25, 2024 |
| Linux | node-express Ubuntu 18.04.6 LTS (bionic) | 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 | [node-express 4.1.1~dfsg-1ubuntu0.18.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-node-express-4.1.1-dfsg-1ubuntu0.18.04.1-esm1.md) | Sep 10, 2024 |
| Linux | node-express Ubuntu 20.04 LTS (focal) | 4.17.1-2ubuntu0.1~esm1 | [node-express 4.17.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-node-express-4.17.1-2ubuntu0.1-esm1.md) | Sep 10, 2024 |
| Linux | node-express Ubuntu 22.04.1 LTS (jammy) | 4.17.3+~4.17.13-1ubuntu0.1~esm1 | [node-express 4.17.3+~4.17.13-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-node-express-4.17.3-4.17.13-1ubuntu0.1-esm1.md) | Sep 10, 2024 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
