org.webjars.npm:redoc@1.22.2 vulnerabilities

  • latest version

    2.3.0

  • first published

    7 years ago

  • latest version published

    25 days ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm: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

    org.webjars.npm: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 org.webjars.npm:redoc to version 2.4.0 or higher.

    [,2.4.0)
    • M
    Cross-site Scripting (XSS)

    org.webjars.npm: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 org.webjars.npm:redoc to version 2.0.0-rc.28 or higher.

    [,2.0.0-rc.28)