Path Traversal in swagger-injector

2020-09-03T20:37:42
ID GHSA-V4X8-GW49-7HV4
Type github
Reporter GitHub Advisory Database
Modified 2020-09-03T20:37:42

Description

All versions of 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.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.