react-dom@16.1.1 vulnerabilities

React package for working with the DOM.

  • latest version

    19.0.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    9 days ago

  • licenses detected

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

    Known vulnerabilities in the react-dom 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-dom is an entry point to the DOM and server renderers for React. It is intended to be paired with the generic React package, which is shipped as react to npm.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when spread attributes in the ssr files are unsanitized and can therefore be attack vectors for untrusted user input.

    How to fix Cross-site Scripting (XSS)?

    Upgrade react-dom to version 16.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2 or higher.

    >=16.0.0 <16.0.1>=16.1.0 <16.1.2>=16.2.0 <16.2.1>=16.3.0 <16.3.3>=16.4.0 <16.4.2