Medium severity · published Sep 10, 2024
CVE-2024-43800
serve-static affected by template injection that can lead to XSS
4.7
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SE
serve-static · expressjs
< 1.16.0; >= 2.0.0, < 2.1.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-43800
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-43800
Patch
https://github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b
Patch
https://github.com/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6fa
Vendor Advisory
https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p
