{"id":"GHSA-4x7w-frcq-v4m3","aliases":["GHSA-4x7w-frcq-v4m3"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in @wturyn/swagger-injector","summary":"All versions of `@wturyn/swagger-injector` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the configured `dist` folder using relative paths.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `@wturyn/swagger-injector` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the configured `dist` folder using relative paths.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T20:38:47.000Z","modified":"2020-08-31T18:49:56.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"@wturyn/swagger-injector","purl":"pkg:npm/%40wturyn/swagger-injector","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1173","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4x7w-frcq-v4m3","url":"https://github.com/advisories/GHSA-4x7w-frcq-v4m3","licence":"CC-BY-4.0","modified":"2020-08-31T18:49:56.000Z"}],"updatedAt":"2026-11-25T22:56:44.083Z"}