CVE-2024-43796
published medium CVSS 3.1 · 5.0express vulnerable to XSS via response.redirect()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| expressjs | — | express< 4.20.0 · >= 5.0.0-alpha.1, < 5.0.0 | Affected | Not stated | GitHub_M |
| Ubuntu | bionic | node-express | Advisory build | 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 | USN-7581-1 |
| Ubuntu | focal | node-express | Advisory build | 4.17.1-2ubuntu0.1~esm1 | USN-7581-1 |
| Ubuntu | jammy | node-express | Advisory build | 4.17.3+~4.17.13-1ubuntu0.1~esm1 | USN-7581-1 |
| Ubuntu | noble | node-express | Advisory build | 4.19.2+~cs8.36.21-1ubuntu0.1~esm1 | USN-7581-1 |
| Ubuntu | xenial | node-express | Advisory build | 4.1.1~dfsg-1ubuntu0.16.04.1~esm1 | USN-7581-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| expressjs | express | < 4.20.0 (affected)>= 5.0.0-alpha.1, < 5.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
express vulnerable to XSS via response.redirect()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- be2e443eff5788ea28ff470d5b4bca3f632b038ad25e7fa6de4ecf588e1b3b04
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record