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…
Does this matter?
Lower severity and a low EPSS score (0.58%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.58% probability · 46th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- serve-lite project/serve-lite
- Source
- report@snyk.io
References
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975cExploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915Third Party Advisory
- https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975cExploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.