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.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 | third party advisory |
https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c | third party advisory exploit |