{"id":"CVE-2022-25847","aliases":[],"url":"https://o3.security/vulnerability/CVE-2022-25847","summary":"Cross-site Scripting (XSS) in serve-lite","details":"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.","published":"2023-01-26T21:30:25Z","modified":"2025-04-01T22:56:21Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"serve-lite","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25847"},{"type":"WEB","url":"https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c"},{"type":"PACKAGE","url":"https://github.com/beenotung/serve-lite"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2025-04-01T22:56:21Z"}}