{"api_version":"1","generated_at":"2026-07-24T01:40:00+00:00","cve":"CVE-2022-25895","urls":{"html":"https://cve.report/CVE-2022-25895","api":"https://cve.report/api/cve/CVE-2022-25895.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25895","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25895"},"summary":{"title":"CVE-2022-25895","description":"All versions of package lite-dev-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-12-21 05:15:00","updated_at":"2023-01-03 13:56:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Path traversal vulnerability in lite-dev-server@3.2.7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Directory Traversal in lite-dev-server | CVE-2022-25895 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134","name":"N/A","refsource":"CONFIRM","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js#L134","name":"MISC:https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134","refsource":"MITRE","tags":[],"title":"lite-dev-server/server.js at master · shadowwzw/lite-dev-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25895","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25895","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Liran Tal","lang":""},{"source":"LEGACY","value":"Snyk","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"25895","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"lite-dev-server_project","cpe5":"lite-dev-server","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-12-21T05:00:11.126080Z","ID":"CVE-2022-25895","STATE":"PUBLIC","TITLE":"Directory Traversal"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"lite-dev-server","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Directory Traversal"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718","name":"https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718"},{"refsource":"MISC","url":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134","name":"https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js%23L134"},{"refsource":"MISC","url":"https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120","name":"https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120"}]},"description":{"description_data":[{"lang":"eng","value":"All versions of package lite-dev-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},"credit":[{"lang":"eng","value":"Liran Tal"},{"lang":"eng","value":"Snyk"}]},"nvd":{"publishedDate":"2022-12-21 05:15:00","lastModifiedDate":"2023-01-03 13:56:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:lite-dev-server_project:lite-dev-server:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}