CVE-2022-25847

MEDIUM

serve-lite - Cross-Site Scripting via Directory Listing

Title source: llm
STIX 2.1

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 (2)

Core 2

Scores

CVSS v3 5.4
EPSS 0.0023
EPSS Percentile 46.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
npm/serve-lite 0npm
serve-lite_project/serve-lite
Published Jan 26, 2023
Tracked Since Feb 18, 2026