CVE-2024-43800Openjsf Serve-static
Medium 4.7 No auth needed
Follow: this CVE · Openjsf · Openjsf Serve-static We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 4.7
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- 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
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
What to do
- Apply the vendor's security update for Serve-static.
- 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 | serve-static |
< 1.16.0 |
1.16.0 |
npm install serve-static@1.16.0 |
| npm | serve-static |
≥ 2.0.0 < 2.1.0 |
2.1.0 |
npm install serve-static@2.1.0 |
Per OSV / GitHub Advisories (GHSA-cm22-4g7w-348p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openjsf | serve-static | < 1.16.0 |
| openjsf | serve-static | ≥ 2.0.0 < 2.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory