{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25847","published":"2023-01-26T21:15:30.783000Z","last_modified":"2026-06-17T04:34:22.937000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"serve-lite_project","product":"serve-lite"}],"cpes_truncated":false,"vendors":["serve-lite_project"],"products":["serve-lite_project/serve-lite"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00573,"percentile":0.41263,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-j8x7-qcw4-xx85","ecosystem":"npm","name":"serve-lite","purl":"pkg:npm/serve-lite","ranges":[{"introduced":"0","last_affected":"1.1.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-25847/","html_en":"/en/cve/CVE-2022-25847/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25847","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25847"},"untrusted":{"vendor_name":"Serve-lite Project","product_name":"Serve-lite","desc_en":"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.","affected":[],"references":[{"url":"https://gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975c","tags":["Exploit","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915","tags":["Third Party Advisory"]}]}}