CVE-2024-43796
MEDIUM 4.7CVSS 3.1express vulnerable to XSS via response.redirect()
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.
- Published
- 10 Sep 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-qw6h-vgh9-j6wx
- Sources
- NVDJSONOSV GHSA-qw6h-vgh9-j6wxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:*:*:*:*:*:node.js:*:* |
< 4.20.0 | 4.20.0 |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha1:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha2:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha3:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha4:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha5:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha6:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha7:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:alpha8:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:beta1:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:beta2:*:*:*:node.js:*:* |
= 5.0.0 | |
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:5.0.0:beta3:*:*:*:node.js:*:* |
= 5.0.0 | |
| OSV | npm | express | < 4.20.0 | 4.20.0 |
| OSV | npm | express | >= 5.0.0-alpha.1, < 5.0.0 | 5.0.0 |
References
- https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553 · Patch, WEB
- https://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43796 · ADVISORY
- https://github.com/expressjs/express · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2024)