NetSight
medium5.4

CVE-2022-25847

Cross-site Scripting (XSS) in serve-lite

Impact

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 packages

EcosystemPackageAffectedFixed in
npmserve-lite<= 1.1.0none recorded

Affected products

VendorProductAffected versions
Serve-Lite ProjectServe-Lite
All versions

Weakness classification

References