All reports
Medium

Cross-site Scripting (XSS) in serve-lite

Affected versions

Affected versions
<= 1.1.0
Fixed version
Not reported

Exploitation

CVE-2022-25847

Probability of exploitation in the next 30 days: 0.60%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • lirantal