CVE-2024-43800
published medium CVSS 3.1 · 5.0serve-static affected by template injection that can lead to XSS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| expressjs | — | serve-static< 1.16.0 · >= 2.0.0, < 2.1.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| expressjs | serve-static | < 1.16.0 (affected)>= 2.0.0, < 2.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
2GitHub_M · cna
serve-static affected by template injection that can lead to XSS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e3c7f697794652aaeeee93a0e1ce392b22e88069196f68a885155e43f7d50e59
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record