GitHub Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | serve-lite | All versions up to and including 1.1.0 |