Intel

AIKIDO-2024-10254

serve-static is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2024-43800 Published Sep 11, 2024

20

Low Risk

This Affects:

jsserve-static
1.3.0 - 1.15.0
Fixed in 1.16.0
2.0.0 - 2.0.0
Fixed in 2.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) via the redirect function due to improper sanitization of user input.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

serve-static is vulnerable to Cross-site Scripting (XSS) in versions 1.3.0 - 1.15.0 and 2.0.0 - 2.0.0.

How to fix this

Upgrade the serve-static library to the patch version.