~ / search / GHSA-j8x7-qcw4-xx85

GHSA-j8x7-qcw4-xx85

Cross-site Scripting (XSS) in serve-lite

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-25847

Packages

EcosystemPackageAffectedFixed in
npm serve-lite <= 1.1.0 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.