{"id":"CVE-2022-25848","aliases":["CVE-2022-25848","GHSA-7fxm-c848-89q8"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal","summary":"This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory.","source":"cvelist"},{"lang":"en","text":"A path traversal vulnerability affects all versions of package static-dev-server. This is because when paths from users to the root directory are joined, the assets for the path accessed are relative to that of the root directory. There is currently no known workaround or fix for this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete static-dev-server. Esto se debe a que cuando se unen las rutas de los usuarios al directorio raíz, los activos de la ruta a la que se accede son relativos a los del directorio raíz.","source":"nvd"}],"published":"2022-11-29T16:50:11.226Z","modified":"2026-06-17T04:34:23.053Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"static-dev-server","source":"cvelist"},{"ranges":[{"version":"1.0.0","status":"affected"}],"ecosystem":"npm","package":"static-dev-server","purl":"pkg:npm/static-dev-server","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.0.0"}],"vendor":"static-dev-server_project","product":"static-dev-server","cpe":"cpe:2.3:a:static-dev-server_project:static-dev-server:1.0.0:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-STATICDEVSERVER-3149917","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/lirantal/5550bcd0bdf92c1b56fbb20e141fe5bd","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25848","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/etoah/static-dev-server","tags":["package"],"sources":["ghsa"]}],"credits":["Liran Tal"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-24T17:52:10.585Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25848","url":"https://www.cve.org/CVERecord?id=CVE-2022-25848","licence":"CVE Terms of Use","modified":"2025-04-24T17:53:10.185Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7fxm-c848-89q8","url":"https://github.com/advisories/GHSA-7fxm-c848-89q8","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:49.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25848","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25848","licence":"Public domain","modified":"2026-06-17T04:34:23.053Z"}],"updatedAt":"2026-11-25T22:58:17.114Z","epss":{"score":0.01222,"percentile":0.69595,"date":"2026-12-02T12:00:21.000Z"}}