GHSA-4x7w-frcq-v4m3
JSON

critical

Path Traversal in @wturyn/swagger-injector

Severity
critical rating by GitHub
Published
Last changed

Description

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.

Recommendation

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

Affected

Product or packageVersionsReported by
@wturyn/swagger-injector (npm)from 0.0.0GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-4x7w-frcq-v4m3 changed 2020-08-31CC-BY-4.0