Vulnerability advisory
CVE-2024-43796
express vulnerable to XSS via response.redirect()
Also known as GHSA-qw6h-vgh9-j6wx
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/expressjs/express ↗ | |
| All commits before 21df421ebc7a5249bb31101da666bbf22adc3f18 | 21df421ebc7a5249bb31101da666bbf22adc3f18 |
| Not specified | 54271f69b511fea198471e6ff3400ab805d6b553 |
Also listed as affected (191)
| |
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.