react-json-pretty@1.5.0 vulnerabilities

A code formatting tool for raw json data

Direct Vulnerabilities

Known vulnerabilities in the react-json-pretty package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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