{"id":"GHSA-6qh5-wx38-q92g","aliases":["GHSA-6qh5-wx38-q92g"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in ltt.js","summary":"Affected versions of `ltt.js` 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 `ltt.js` 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":"2019-05-30T17:15:59.000Z","modified":"2020-08-31T18:22:04.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"1.0.0","status":"affected"}],"ecosystem":"npm","package":"ltt.js","purl":"pkg:npm/ltt.js","source":"ghsa"}],"references":[{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/ltt.js","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/ltt.js","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/411","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6qh5-wx38-q92g","url":"https://github.com/advisories/GHSA-6qh5-wx38-q92g","licence":"CC-BY-4.0","modified":"2020-08-31T18:22:04.000Z"}],"updatedAt":"2026-11-25T22:56:44.413Z"}