CVE-2022-25847

published 25 Jan 2023 · updated 1 Apr 2025

All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it…

5.4MediumCVSS 5.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in *.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25847 severity on Zeptric[![CVE-2022-25847](https://zeptric.io/badge/cve/CVE-2022-25847.svg)](https://zeptric.io/cve/CVE-2022-25847)