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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.006 (45.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 45.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Serve-Lite Project
- Serve-Lite — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915 (Third Party Advisory)
- gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c (Exploit, Third Party Advisory)
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.