What’s Vulnerable › Vulnerabilities
CVE-2022-25847
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-26 · updated 2026-06-17
- Weakness: 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 products
- serve-lite: all versions
References
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915
Get alerted when CVE-2022-25847 or the next vulnerability affects your stack