CVE-2024-43800Cross-site Scripting in Serve-static

Severity
4.7MEDIUMNVD
EPSS
0.9%
top 24.02%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 10

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:NExploitability: 1.6 | Impact: 2.7

Affected Packages9 packages

NVDopenjsf/serve-static2.0.02.1.0+1
CVEListV5expressjs/serve-static< 1.16.0+1
debiandebian/node-serve-static< node-serve-static 2.1.0+~1.15.7-1 (forky)
npmserve-static_project/serve-static2.0.02.1.0+1

Patches

🔴Vulnerability Details

3
GHSA
serve-static vulnerable to template injection that can lead to XSS2024-09-10
OSV
serve-static vulnerable to template injection that can lead to XSS2024-09-10
OSV
CVE-2024-43800: serve-static serves static files2024-09-10

📋Vendor Advisories

3
Microsoft
serve-static affected by template injection that can lead to XSS2024-09-10
Red Hat
serve-static: Improper Sanitization in serve-static2024-09-10
Debian
CVE-2024-43800: node-serve-static - serve-static serves static files. serve-static passes untrusted user input - eve...2024