Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Express.js Open Redirect in malformed URLs

CVSS 3.1 6.1 MEDIUMEUVD CVSS 3.1 6.1 CVSS 3.1 · [email protected] · Secondary 6.1 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by express 4.19.2Fixed by express 5.0.0-beta.3KEV status unknown

cve-program · CVE-2024-29041

Published

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.

Read the publisher's advisory

euvd · EUVD-2024-1007

Published

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.

Read the publisher's advisory

nvd · CVE-2024-29041

Published

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.

Read the publisher's advisory

osv · GHSA-rv95-896h-c2vc

Published

### Impact Versions of Express.js prior to 4.19.2 and pre-release alpha and beta versions before 5.0.0-beta.3 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()`. ### Patches https://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2dd https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94 An initial fix went out with `[email protected]`, we then patched a feature regression in `4.19.1` and added improved handling for the bypass in `4.19.2`. ### Workarounds The fix for this involves pre-parsing the url string with either `require('node:url').parse` or `new URL`. These are steps you can take on your own before passing the user input string to `res.location` or `res.redirect`. ### Resources https://github.com/expressjs/express/pull/5539 https://github.com/koajs/koa/issues/1800 https://expressjs.com/en/4x/api.html#res.location

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-29041

Published

express

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "expressjs",
                    "product": "express",
                    "versions": [
                        {
                            "version": ">=4.14.0, <4.19.0",
                            "status": "affected"
                        },
                        {
                            "version": ">=5.0.0-alpha.1, <5.0.0-beta.3",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-1007

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Mar 25, 2024, 8:20:06 PM

dateUpdated: Aug 2, 2024, 1:03:51 AM

18 related source bulletins · separate from aliases

RHSA-2025:8544: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.14 Bug Fix Update

CVE-2024-11831 · CVE-2024-21536 · CVE-2024-21538 · CVE-2024-29041 · CVE-2024-29180 · CVE-2024-37890 · CVE-2024-39249 · CVE-2024-45338 · CVE-2024-45590 · CVE-2024-48910 · CVE-2025-22868 · CVE-2025-30204

RHSA-2024:4873: Red Hat Security Advisory: Apicurio Registry (container images) release and security update [ 2.6.1 GA ]

CVE-2023-51775 · CVE-2024-2700 · CVE-2024-22201 · CVE-2024-29041 · CVE-2024-29180

RHSA-2025:4511: Red Hat Security Advisory: RHODF-4.18-RHEL-9 security update

CVE-2024-11831 · CVE-2024-21536 · CVE-2024-29041 · CVE-2025-22868 · CVE-2025-22869 · CVE-2025-27144 · CVE-2025-30204

WID-SEC-W-2024-1590: HCL BigFix: Mehrere Schwachstellen

CVE-2024-33883 · CVE-2023-42282 · CVE-2024-29041 · CVE-2021-43306 · CVE-2022-31147

RHEA-2024:7870: Red Hat Enhancement Advisory: Red Hat OpenShift Pipelines Operator Bundle 1.16.0 release

CVE-2024-28863 · CVE-2024-29041 · CVE-2024-29180 · CVE-2024-39338

msrc_CVE-2024-29041: Express.js Open Redirect in malformed URLs

CVE-2024-29041

WID-SEC-W-2025-0010: HCL BigFix Server Automation: Mehrere Schwachstellen

CVE-2023-26159 · CVE-2024-28849 · CVE-2024-29041

NCSC-2025-0026: Kwetsbaarheden verholpen in Oracle JD Edwards

CVE-2023-2976 · CVE-2023-3961 · CVE-2023-4091 · CVE-2023-4782 · CVE-2023-5678 · CVE-2023-6129 · CVE-2023-38552 · CVE-2023-39017 · CVE-2023-42669 · CVE-2023-48795 · CVE-2024-0727 · CVE-2024-21245 · CVE-2024-22019 · CVE-2024-22020 · CVE-2024-27280 · CVE-2024-27281 · CVE-2024-27282 · CVE-2024-27983 · CVE-2024-29041 · CVE-2025-21507 · CVE-2025-21508 · CVE-2025-21509 · CVE-2025-21510 · CVE-2025-21511 · CVE-2025-21512 · CVE-2025-21513 · CVE-2025-21514 · CVE-2025-21515 · CVE-2025-21517 · CVE-2025-21524 · CVE-2025-21527 · CVE-2025-21538 · CVE-2025-21552

RHSA-2025:8551: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.18 Bug Fix Update

CVE-2024-11831 · CVE-2024-21536 · CVE-2024-21538 · CVE-2024-29041 · CVE-2024-29180 · CVE-2024-37890 · CVE-2024-39249 · CVE-2024-45338 · CVE-2024-45590 · CVE-2024-48910

RHSA-2025:8479: Red Hat Security Advisory: RHODF-4.16-RHEL-9 security update

CVE-2024-11831 · CVE-2024-21536 · CVE-2024-29041 · CVE-2024-39249 · CVE-2024-45338 · CVE-2024-45590 · CVE-2025-30204

WID-SEC-W-2025-0168: Oracle JD Edwards: Mehrere Schwachstellen

CVE-2023-2976 · CVE-2023-3961 · CVE-2023-4782 · CVE-2023-48795 · CVE-2023-6129 · CVE-2024-21245 · CVE-2024-27280 · CVE-2024-27983 · CVE-2024-29041 · CVE-2025-21507 · CVE-2025-21508 · CVE-2025-21509 · CVE-2025-21510 · CVE-2025-21511 · CVE-2025-21512 · CVE-2025-21513 · CVE-2025-21514 · CVE-2025-21515 · CVE-2025-21517 · CVE-2025-21524 · CVE-2025-21527 · CVE-2025-21538 · CVE-2025-21552

WID-SEC-W-2024-0956: IBM App Connect Enterprise: Mehrere Schwachstellen

CVE-2024-29041 · CVE-2024-30260 · CVE-2024-30261

RHSA-2025:8059: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.7 Bug Fix Update

CVE-2024-11831 · CVE-2024-21536 · CVE-2024-29041 · CVE-2024-39249 · CVE-2024-45338 · CVE-2024-45590 · CVE-2025-27144 · CVE-2025-30204

WID-SEC-W-2024-2036: Red Hat OpenShift: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen

CVE-2024-29041 · CVE-2024-39338 · CVE-2024-4067 · CVE-2024-4068

RHSA-2024:3868: Red Hat Security Advisory: Network Observability 1.6.0 for OpenShift

CVE-2023-39326 · CVE-2023-42282 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28849 · CVE-2024-29041 · CVE-2024-29180

RHSA-2024:6211: Red Hat Security Advisory: Red Hat OpenShift Service Mesh Containers for 2.6.1 security update

CVE-2024-4067 · CVE-2024-4068 · CVE-2024-29041 · CVE-2024-39338

RHSA-2024:7164: Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update

CVE-2019-25211 · CVE-2023-45288 · CVE-2023-45289 · CVE-2024-3727 · CVE-2024-4068 · CVE-2024-24788 · CVE-2024-28180 · CVE-2024-28849 · CVE-2024-28863 · CVE-2024-29018 · CVE-2024-29041 · CVE-2024-29180 · CVE-2024-39338

RHSA-2024:7624: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.11 security and bug fix update

CVE-2024-6104 · CVE-2024-29041 · CVE-2024-41818

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2024-29041

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-601 · CWE-1286

Original publisher date fields

published: 2024-03-25T21:15:46.847

lastModified: 2026-06-17T07:22:18.493

11 source CPE criteria · context only
  • cpe:2.3:a:openjsf:express:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha1:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha2:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha3:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha4:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha5:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha6:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha7:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:alpha8:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:beta1:*:*:*:node.js:*:*
  • cpe:2.3:a:openjsf:express:5.0.0:beta2:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-rv95-896h-c2vc

Published

express

npm

SEMVER · introduced 0 → fixed 4.19.2

express

npm

SEMVER · introduced 5.0.0-alpha.1 → fixed 5.0.0-beta.3

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 16 Nov 15:59 UTC · 274 of 275 readable · 250 fully read · 20 waiting for GitHub's hourly limit · documentation 469/469 current