redoc@2.0.0-alpha.37-internal vulnerabilities

ReDoc

  • latest version

    2.4.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the redoc package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Prototype Pollution

    redoc is an OpenAPI/Swagger-generated API Reference Documentation.

    Affected versions of this package are vulnerable to Prototype Pollution via the mergeObjects() method in utils/helpers.ts due to improper user input sanitization.

    How to fix Prototype Pollution?

    Upgrade redoc to version 2.4.0 or higher.

    <2.4.0
    • M
    Cross-site Scripting (XSS)

    redoc is an OpenAPI/Swagger-generated API Reference Documentation.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). valueToHTML in src/utils/jsonToHtml.ts does not sanitize provided URI values.

    How to fix Cross-site Scripting (XSS)?

    Upgrade redoc to version 2.0.0-rc.28 or higher.

    <2.0.0-rc.28