GitHub Advisoryadvisory · npm
GHSA-j8x7-qcw4-xx85 Cross-site Scripting (XSS) in serve-lite
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25847
- Ecosystem
- npm
- Packages
- serve-lite
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-01-30
Affected packages
• npm serve-lite: <= 1.1.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2022-25847 All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness