react@0.2.6 vulnerabilities

React is a JavaScript library for building user interfaces.

  • latest version

    19.2.0

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    15 days ago

  • licenses detected

    • >=0.0.0-375616788 <0.8.0; >=15.6.2 <16.0.0-alpha; >=16.0.0
  • Direct Vulnerabilities

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

    react is React is a JavaScript library for building user interfaces..

    Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to the createElement method not validating the object, allowing a malicious user to pass a specially crafted JSON object and renders them as an element.

    How to fix Cross-site Scripting (XSS)?

    Upgrade react to version 0.14.0 or higher.

    >=0.0.1 <0.14.0