← Back

CVE-2024-29041

nvd nist
Published: Mar 25, 2024Modified: Jun 17, 2026

JSON object

Loading...
6.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.8 / Impact: 2.7
Source: security-advisories@github.com (Secondary)

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.

Affected (11)

Products: Openjsf: Express
1 product
Express
Configuration A
11 vulnerable
Vulnerable SoftwareAffected Versions
Openjsf
Before 4.19.2
Version 5.0.0 alpha1
Version 5.0.0 alpha2
Version 5.0.0 alpha3
Version 5.0.0 alpha4
Version 5.0.0 alpha5
Version 5.0.0 alpha6
Version 5.0.0 alpha7
Version 5.0.0 alpha8
Version 5.0.0 beta1
Version 5.0.0 beta2

References (12)

Source: security-advisories@github.com
Technical Description
Source: security-advisories@github.com
Issue Tracking
Source: security-advisories@github.com
PatchVendor Advisory
Source: security-advisories@github.com
Issue Tracking
Source: af854a3a-2127-422b-91ae-364da2661108
Technical Description
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
Source: af854a3a-2127-422b-91ae-364da2661108
PatchVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking

Timeline

No history available yet.