{"id":"CVE-2022-25847","published":"2023-01-25T05:00:01Z","modified":"2025-04-01T14:55:17Z","title":"All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00599,"percentile":0.49626,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915","tags":[]},{"url":"https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.93},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"serve-lite","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-01T14:55:01.971003Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"serve-lite","vulnerableRanges":["<=1.1.0"],"patched":[],"from":["GHSA-j8x7-qcw4-xx85"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0493","exploited":false,"provenance":"source"}}