CVE-2022-25847
MEDIUMserve-lite - Cross-Site Scripting via Directory Listing
Title source: llmDescription
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
Core References
Exploit, Third Party Advisory
https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915
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