VDB
Sign up
MEDIUM5.4

GHSA-j8x7-qcw4-xx85

Cross-site Scripting (XSS) in serve-lite

Details

All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it renders a file listing of all of its contents with links that include the actual file names without any sanitization or output encoding.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/serve-lite
Introduced in: 0

No fixed version published yet for serve-lite (npm). Pin to a known-safe version or switch to an alternative.

References