{"id":"GHSA-224h-p7p5-rh85","aliases":["GHSA-224h-p7p5-rh85"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in wenluhong1","summary":"Affected versions of `wenluhong1` resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.\n\nExample request:\n```\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nNo patch is available for this vulnerability.\n\nIt is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Affected versions of `wenluhong1` resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.\n\nExample request:\n```\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nNo patch is available for this vulnerability.\n\nIt is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T17:32:26.000Z","modified":"2021-09-23T21:43:28.000Z","severity":{"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"},"severities":[{"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"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"wenluhong1","purl":"pkg:npm/wenluhong1","source":"ghsa"}],"references":[{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/wenluhong1","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/npm:wenluhong1:20170509","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/409","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-224h-p7p5-rh85","url":"https://github.com/advisories/GHSA-224h-p7p5-rh85","licence":"CC-BY-4.0","modified":"2021-09-23T21:43:28.000Z"}],"updatedAt":"2026-11-25T22:56:43.529Z"}