CVE-2022-25847

medium

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.

References

https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915

https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c

Details

Source: Mitre, NVD

Published: 2023-01-26

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00289