react-json-pretty@2.0.0 vulnerabilities

A code formatting tool for raw json data

  • latest version

    2.2.0

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the react-json-pretty 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
    • M
    Cross-site Scripting (XSS)

    react-json-pretty is a lightweight and tiny react component that helps you to format and prettify the JSON data.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improperly rendering a json object.

    How to fix Cross-site Scripting (XSS)?

    Upgrade react-json-pretty to version 2.0.1 or higher.

    <2.0.1