### [CVE-2022-25847](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25847) ![](https://img.shields.io/static/v1?label=Product&message=serve-lite&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%200%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen) ### 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. ### POC #### Reference - https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c - https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c - https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 - https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 #### Github No PoCs found on GitHub currently.