CVE-2024-43796Openjsf Express
Medium 4.7 No auth needed
Follow: this CVE · Openjsf · Openjsf Express We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 4.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- No
- Published
- Sep 10, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Express.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | express |
< 4.20.0 |
4.20.0 |
npm install express@4.20.0 |
| npm | express |
≥ 5.0.0-alpha.1 < 5.0.0 |
5.0.0 |
npm install express@5.0.0 |
Per OSV / GitHub Advisories (GHSA-qw6h-vgh9-j6wx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openjsf | express | < 4.20.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
| openjsf | express | 5.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory