serve-static is vulnerable to Cross-site Scripting (XSS)
20
Low Risk
Affected versions of the package are vulnerable to Cross-site Scripting (XSS) via the redirect function due to improper sanitization of user input.
You are affected if you are using a version that falls within the vulnerable range.
serve-static is vulnerable to Cross-site Scripting (XSS) in versions 1.3.0 - 1.15.0 and 2.0.0 - 2.0.0.
Upgrade the serve-static library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant