react-json-pretty@1.5.0 vulnerabilities

A code formatting tool for raw json data

  • latest version

    2.2.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    6 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.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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