CVE-2022-25847 Cross-site Scripting (XSS) in serve-lite
MediumCVSS 6.1
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm serve-lite(npm) | <= 1.1.0 | No fix listed |
| serve-lite project serve-lite | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory
- gist.github.com exploit third-party-advisory
- security.snyk.io third-party-advisory
- github.com