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.
No fix is currently available. Consider using an alternative package until a fix is made available.
{
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:49:54Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}