medium5.4
CVE-2022-25847
Cross-site Scripting (XSS) in serve-lite
Impact
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 | Fixed in |
|---|---|---|---|
| npm | serve-lite | <= 1.1.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Serve-Lite Project | Serve-Lite | All versions |