CVEvulnerability
CVE-2022-25847
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-01-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• serve-lite project serve-lite
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 Third Party Advisory
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 Third Party Advisory