What’s Vulnerable › Vulnerabilities

CVE-2024-43800: serve-static affected by template injection that can lead to XSS

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.

Affected products

How to fix

Upgrade to a fixed version: expressjs serve-static 1.16.0, 2.1.0; Npm Serve-Static 1.16.0, 2.1.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-43800 or the next vulnerability affects your stack