I suspect the commit to fix is: https://github.com/facebook/react/commit/bbed0b0ee64b89353a4... and it looks like its been squashed with some other stuff to hide it or maybe there are other problems as well. this pattern appears 4 times and looks like it is reducing the functions that are exposed to the 'whitelist'. i presume the modules have dangerous functions in the prototype chain and clients were able to invoke…
It could also be https://github.com/facebook/react/commit/7dc903cd29dac55efb4... ("This also fixes a critical security vulnerability.")
RCE Vulnerability in React and Next.js
21–30 of 276 posts
Re: RCE Vulnerability in React and Next.js
#22CVE 10.0 is bonkers for a project this widely used
> Experimental React Flight bindings for DOM using Webpack.
> Use it at your own risk.
311,955 weekly downloads though :-|
Re: RCE Vulnerability in React and Next.js
#23[flagged]
Re: RCE Vulnerability in React and Next.js
#24mind you react in 2017 paid my rent. now cz of the complexity I refuse to work with react.
Re: RCE Vulnerability in React and Next.js
#25https://vercel.com/changelog/cve-2025-55182
> Cloudflare WAF proactively protects against React vulnerability
Re: RCE Vulnerability in React and Next.js
#26The CVE says the that flaw is in React Server Components, which implies strongly that this is a RCE on the backend (!!), not the client.
Re: RCE Vulnerability in React and Next.js
#27> Projects hosted on Vercel benefit from platform-level protections that already block malicious request patterns associated with this issue. https://vercel.com/changelog/cve-2025-55182 > Cloudflare WAF proactively protects against React vulnerability https://blog.cloudflare.com/waf-rules-react-vulnerability/
We still strongly recommend everyone to upgrade their Next, React, and other React meta-frameworks (peer)dependencies immediately.
Re: RCE Vulnerability in React and Next.js
#28CVE 10.0 is bonkers for a project this widely used
The packages affected, like [1], literally say: > Experimental React Flight bindings for DOM using Webpack. > Use it at your own risk. 311,955 weekly downloads though :-| [1]: https://www.npmjs.com/package/react-server-dom-webpack
Re: RCE Vulnerability in React and Next.js
#29[flagged]
This is not related to ”use server”. That’s used to mark Server Actions / Server Functions, and it is not necessarily used in files with Server Components.
> a flaw in how React decodes payloads sent to React Server Function endpoints
and the react.dev docs for React Server Functions [2] say that
> Server Components can define Server Functions with the "use server" directive [...] Client Components can import Server Functions from files that use the "use server" directive
So it certainly sounds like the vulnerability is related to React Server Functions which are related to "use server".
[1] https://react.dev/blog/2025/12/03/critical-security-vulnerab...