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 renders a file listing of all of its contents with links that include the actual file names without any sanitization or output encoding.
- Score
- CVSS 3.1 6.1 Medium
- Status
- Modified - report@snyk.io
- Published
- 2023-01-26
- Last modified
- 2025-04-01
- Weaknesses
- CWE-79
Affected products
References
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915