React remote code execution in Server Components payload handling
react
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| react-server-dom-parcel npm |
|
|
react
| Product | Affected | Fixed in |
|---|---|---|
| react-server-dom-parcel npm |
|
|
| react-server-dom-turbopack npm |
|
|
| react-server-dom-webpack npm |
|
|
React is a JavaScript library for building user interfaces. From 19.0.0 until 19.0.9, 19.1.10, 19.2.9, and 19.3.1, the react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack packages are vulnerable to unauthenticated remote code execution through crafted payloads targeting frameworks that support React Server Components. The vulnerability only affects extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value. Applications whose React code does not use a server are not affected. Applications that do not use a framework, bundler, or bundler plugin that supports React Server Components are not affected. This issue is fixed in versions 19.0.9, 19.1.10, 19.2.9, and 19.3.1.
From the CVE record · GitHub_M
The react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack packages are vulnerable to unauthenticated remote code execution through crafted payloads targeting frameworks that support React Server Components. This affects only rare cases where responses transport multiple typed arrays and an attacker-controlled value; applications without a server or without React Server Components support are not affected.
Check applications using these npm packages at versions >=19.0.0 <19.0.9, >=19.1.0 <19.1.10, >=19.2.0 <19.2.9, or >=19.3.0 <19.3.1.