CVE-2024-43796
express vulnerable to XSS via response.redirect()
Reported by github_m · Published September 10, 2024
express is fixed in 5.0.0 and 4.20.0 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| express | npm | 5.0.0, 4.20.0 |
| kubeflow-pipelines | Wolfi | 2.2.0-r12 |
| arangodb-3.11 | Chainguard | 3.11.14.5-r25 |
| argo-workflows | Chainguard | 3.6.5-r2 |
| kubeflow-centraldashboard | Chainguard | 1.9.0-r4 |
| express | openjsf | 4.20.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| expressjs | express | < 4.20.0, >= 5.0.0-alpha.1, < 5.0.0 |
| wolfi | kubeflow-pipelines | 0 |
| chainguard | arangodb-3.11 | 0 |
| chainguard | argo-workflows | 0 |
| chainguard | kubeflow-centraldashboard | 0 |
| expressjs | express | 5.0.0-alpha.1, 0 |
| wolfi | sqlpad | 0 |
| npm | express | 0, 5.0.0-alpha.1 |
| chainguard | sqlpad | 0 |
| chainguard | kubeflow-pipelines | 0 |
| wolfi | kubeflow-centraldashboard | 0 |
| wolfi | argo-workflows | 0 |
Timeline
- Sep 10, 2024 CVE Published
- Sep 11, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 5, 2026 Security Advisory (43 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (38 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-43796
vulnetix vdb fixes CVE-2024-43796
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43796/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx x_refsource_CONFIRM
- https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-43796 advisory
- https://github.com/advisories/GHSA-qw6h-vgh9-j6wx advisory
- https://github.com/expressjs/express url