XSS in Serve-Lite Project

CVE-2022-25847

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (45.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-25847?
CVE-2022-25847 is a medium-severity vulnerability in Serve-Lite Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2023-01-26.
How severe is CVE-2022-25847?
Medium severity. CVSS v3 base score is 5.4 out of 10.