CVE-2024-43796
MEDIUM5.0EPSS 0.12%express vulnerable to XSS via response.redirect()
Published: 9/10/2024Modified: 4/28/2026
Description
Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
Affected packages (2)
- Debian/node-expressfrom 0
- npm/expressfrom 0, < 4.20.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L |
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-43796
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-43796
- PATCHhttps://github.com/expressjs/express
- WEBhttps://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553
- WEBhttps://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx