CVE-2024-43800: serve-static affected by template injection that can lead to XSS
Vulnerability summary
CVE-2024-43800 is a medium (CVSS 5.0) vulnerability in expressjs serve-static. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.6% of scored vulnerabilities.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 10-09-2024PublishedVulnerability first disclosed.
- 10-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · NpmEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- NVDNIST4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.63% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard17 products
- arangodb-3.11< 3.11.14.5-r25
- argo-workflows< 3.6.5-r2
- kubeflow-centraldashboard< 1.9.0-r4
- kubeflow-pipelines< 2.2.0-r12
- kubeflow-pipelines-apiserver< 2.2.0-r12
Wolfi16 products
- argo-workflows< 3.6.5-r2
- kubeflow-centraldashboard< 1.9.0-r4
- kubeflow-pipelines< 2.2.0-r12
- kubeflow-pipelines-apiserver< 2.2.0-r12
- kubeflow-pipelines-cache_server< 2.2.0-r12
Debian1 product
- node-serve-staticAll versions (No fix recorded) | < 2.1.0+~1.15.7-1
Expressjs1 product
- serve-static< 1.16.0 | ≥ 2.0.0, < 2.1.0
Npm1 product
- serve-static< 1.16.0 | ≥ 2.0.0, < 2.1.0
Openjsf1 product
- serve-static< 1.16.0 | ≥ 2.0.0, < 2.1.0
Ubuntu1 product
- node-serve-staticAll versions (No fix recorded)
7 vendors · 38 products
References
9 links- github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348pX Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6bX Refsource MISCFIXWEBPatch
- github.com/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6faX Refsource MISCFIXWEBPatch