PT-2023-12821
CVE-2022-25847
·
Published
2023-01-25
·
Updated
2023-02-01
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
serve-lite versions all
Description
The issue arises when the software detects a request to a directory and renders a file listing of its contents. This listing includes links with actual file names, but these names are not sanitized or output encoded, leading to Cross-site Scripting (XSS).
Recommendations
For all versions, consider disabling the directory listing feature until a proper fix is implemented to sanitize or encode file names in links. Restrict access to directory listings to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾