GHSA-xqc2-xf4c-x3h3: React: Unauthenticated Remote Code Execution in React Server Components
Impact
Crafted payloads targeting frameworks supporting React Server Components can lead to remote code execution. This only affects extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value.
Updating immediately is recommended.
The vulnerability exists in versions 19.0.0 through 19.0.8, 19.1.0 through 19.1.9, 19.2.0 through 19.2.8 and 19.3.0 of:
- react-server-dom-webpack - react-server-dom-parcel - react-server-dom-turbopack
Patches
Fixes were back ported to versions 19.0.09, 19.1.10, 19.2.9, and 19.3.1.
If applications are using any of the above packages please upgrade to any of the fixed versions immediately.
If an app’s React code does not use a server, the app is not affected by this vulnerability. If an app does not use a framework, bundler, or bundler plugin that supports React Server Components, the app is not affected by this vulnerability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/react-server-dom-webpackto a version that resolves this vulnerability.Fixed in 19.3.1 - Upgrade
Upgrade
npm/react-server-dom-webpackto a version that resolves this vulnerability.Fixed in 19.2.9 - Upgrade
Upgrade
npm/react-server-dom-webpackto a version that resolves this vulnerability.Fixed in 19.1.10 - Upgrade
Upgrade
npm/react-server-dom-webpackto a version that resolves this vulnerability.Fixed in 19.0.9 - Upgrade
Upgrade
npm/react-server-dom-turbopackto a version that resolves this vulnerability.Fixed in 19.3.1 - Upgrade
Upgrade
npm/react-server-dom-turbopackto a version that resolves this vulnerability.Fixed in 19.2.9 - Upgrade
Upgrade
npm/react-server-dom-turbopackto a version that resolves this vulnerability.Fixed in 19.1.10 - Upgrade
Upgrade
npm/react-server-dom-turbopackto a version that resolves this vulnerability.Fixed in 19.0.9 - Upgrade
Upgrade
npm/react-server-dom-parcelto a version that resolves this vulnerability.Fixed in 19.3.1 - Upgrade
Upgrade
npm/react-server-dom-parcelto a version that resolves this vulnerability.Fixed in 19.2.9 - Upgrade
Upgrade
npm/react-server-dom-parcelto a version that resolves this vulnerability.Fixed in 19.1.10 - Upgrade
Upgrade
npm/react-server-dom-parcelto a version that resolves this vulnerability.Fixed in 19.0.9 - Upgrade
Upgrade
react-server-dom-parcel, react-server-dom-turbopack, react-server-dom-webpackto a version that resolves this vulnerability.Fixed in 19.3.1