XSS in Expressjs Serve-Static
CVE-2024-43800
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.006, 50.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Expressjs Serve-Static — versions < 1.16.0, >= 2.0.0, < 2.1.0
- Openjsf Serve-Static
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (andrewbearsley/lacework-sca-scan-example, felipecruz91/biznagafest24, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.