react-dom@16.4.0 vulnerabilities

React package for working with the DOM.

Direct Vulnerabilities

Known vulnerabilities in the react-dom 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-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
  • 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