CVE-2024-29041 — Express.js Open Redirect in express — CVE Details
Express.js Open Redirect in malformed URLs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.11%). Schedule for your next planned update.
Summary
Advisory Timeline
- First published March 25, 2024 (931 days ago).
- Last revised September 10, 2026 — 898 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install express@4.19.2
npm install express@5.0.0-beta.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1286
- CWE-601Open RedirectMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-29041ADVISORY
- https://github.com/koajs/koa/issues/1800WEB
- https://github.com/expressjs/express/pull/5539WEB
- https://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2ddWEB
- https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94WEB
- https://expressjs.com/en/4x/api.html#res.locationWEB
- https://github.com/expressjs/expressPACKAGE
Frequently Asked Questions
- What is CVE-2024-29041?
- Express.js Open Redirect in malformed URLs This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2024-29041?
- CVE-2024-29041 affects express. It has a 0.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-29041 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
This is a below-median EPSS score — only 30.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-100723MEDIUM
vm2: NodeVM zlib Buffers expose pooled host memory across the VM boundary
- CVE-2026-105848MEDIUM
Payload: Insufficient Access Control in Stripe REST Proxy
- CVE-2024-43796LOW
express vulnerable to XSS via response.redirect()
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies