Skip to content

Commit 512e94f

Browse files
committed
add update instructions
1 parent 4704ce6 commit 512e94f

File tree

1 file changed

+80
-2
lines changed

1 file changed

+80
-2
lines changed

src/content/blog/2025/12/03/critical-security-vulnerability-in-react-server-components.md

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,91 @@ We will update this post with upgrade instructions on how to upgrade as they bec
5050

5151
An unauthenticated attacker could craft a malicious HTTP request to any Server Function endpoint that, when deserialized by React, achieves remote code execution on the server. Further details of the vulnerability will be provided after the rollout of the fix is complete.
5252

53-
### Timeline {/*timeline*/}
53+
## Update Instructions {/*update-instructions*/}
54+
55+
### Next.js {/*update-next-js*/}
56+
57+
All users should upgrade to the latest patched version in their release line:
58+
59+
```bash
60+
npm install [email protected] // for 15.0.x
61+
npm install [email protected] // for 15.1.x
62+
npm install [email protected] // for 15.2.x
63+
npm install [email protected] // for 15.3.x
64+
npm install [email protected] // for 15.4.x
65+
npm install [email protected] // for 15.5.x
66+
npm install [email protected] // for 16.0.x
67+
```
68+
69+
If you are on Next.js 14.3.0-canary.77 or a later canary release, downgrade to the latest stable 14.x release:
70+
71+
```bash
72+
npm install next@14
73+
```
74+
75+
See the [Next.js changelog](https://vercel.com/changelog/cve-2025-55182) for more info.
76+
77+
### React Router {/*update-react-router*/}
78+
79+
If you are using React Router's unstable RSC APIs, you should upgrade the following package.json dependencies if they exist:
80+
81+
```bash
82+
npm install react@latest
83+
npm install react-dom@latest
84+
npm install react-server-dom-parcel@latest
85+
npm install react-server-dom-webpack@latest
86+
npm install @vitejs/plugin-rsc@latest
87+
```
88+
89+
### Redwood SDK {/*update-redwood-sdk*/}
90+
91+
Upgrade to the latest `react-server-dom-webpack`:
92+
93+
```bash
94+
npm install react@latest react-dom@latest react-server-dom-webpack@latest
95+
```
96+
97+
See [Redwood docs](https://docs.rwsdk.com/migrating/) for more migration instructions.
98+
99+
### Waku {/*update-waku*/}
100+
101+
Upgrade to the latest `react-server-dom-webpack`:
102+
103+
```bash
104+
npm install react@latest react-dom@latest react-server-dom-webpack@latest
105+
```
106+
107+
### `react-server-dom-parcel` {/*update-react-server-dom-parcel*/}
108+
109+
Update to the latest version:
110+
111+
```bash
112+
npm install react@latest react-dom@latest react-server-dom-parcel@latest
113+
```
114+
115+
### `react-server-dom-turbopack` {/*update-react-server-dom-turbopack*/}
116+
117+
Update to the latest version:
118+
119+
```bash
120+
npm install react@latest react-dom@latest react-server-dom-turbopack@latest
121+
```
122+
123+
### `react-server-dom-webpack` {/*update-react-server-dom-webpack*/}
124+
125+
Update to the latest version:
126+
127+
```bash
128+
npm install react@latest react-dom@latest react-server-dom-webpack@latest
129+
```
130+
131+
## Timeline {/*timeline*/}
54132

55133
* **November 29th**: Lachlan Davidson reported the security vulnerability via [Meta Bug Bounty](https://bugbounty.meta.com/).
56134
* **November 30th**: Meta security researchers confirmed and began working with the React team on a fix.
57135
* **December 1st**: A fix was created and the React team began working with affected hosting providers and open source projects to validate the fix, implement mitigations and roll out the fix
58136
* **December 3rd**: The fix was published to npm and the publicly disclosed as CVE-2025-55182.
59137

60-
### Attribution {/*attribution*/}
138+
## Attribution {/*attribution*/}
61139

62140
Thank you to [Lachlan Davidson](https://github.com/lachlan2k) for discovering, reporting, and working to help fix this vulnerability.

0 commit comments

Comments
 (0)