Medium severity · published Sep 10, 2024
CVE-2024-43796
express vulnerable to XSS via response.redirect()
4.7
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EX
express · expressjs
< 4.20.0; >= 5.0.0-alpha.1, < 5.0.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-43796
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-43796
Patch
https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553
Vendor Advisory
https://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx
More from express
6.1
CVE-2024-29041
Express.js Open Redirect in malformed URLs
5.3
CVE-2024-10491
Preload arbitrary resources by injecting additional `Link` headers
4.7
CVE-2024-9266
Open Redirect
