Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Serve-Lite Project | Serve-Lite | All versions |
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975cExploitThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915Third Party Advisory
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975cExploitThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915Third Party Advisory
FAQ
What is CVE-2022-25847?
CVE-2022-25847 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 i...
How severe is CVE-2022-25847?
CVE-2022-25847 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25847?
Check the references section above for vendor advisories and patch information. Affected products include: Serve-Lite Project Serve-Lite.