News for hackers. Stuff that matters.
Re:RCE Vulnerability in React and Next.js by WatchDog on Wednesday December 03, 2025 @07:47PM (#46142412)
I ran your exploit-rce-v4.js with and without the patched react-server-dom-webpack, and both of them executed the RCE.

So I don't think this mechanism is exactly correct, can you demo it with an actual nextjs project, instead of your mock server?

Re:RCE Vulnerability in React and Next.js by ejpir on Wednesday December 03, 2025 @08:00PM (#46142515)
I'm trying that, nextjs is a little different because it uses a Proxy object before it passes through, which blocks the rce.

I'm debugging it currently, maybe I'm not on the right path after all \0/

Re:RCE Vulnerability in React and Next.js by ejpir on Wednesday December 03, 2025 @08:40PM (#46142771)
I'v updated the code, try it now with server-realistic.js:

1. npm start 2. npm run exploit