React2Shell CVE-2025–55182 Explained: Critical RCE Vulnerabilit
A deserialisation flaw in React Server Components allowed unauthenticated attackers to execute arbitrary commands on servers via crafted HTTP requests. Attackers could manipulate JavaScript prototypes and invoke dangerous Node.js modules to run system commands.
Published on medium.com
A deep technical breakdown of the React2Shell vulnerability, real-world exploitation, and urgent mitigation steps.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers could execute arbitrary commands on vulnerable servers without authentication, and active exploitation was observed within hours of disclosure; WAF rules from major cloud providers blocked exploit payloads, though patching remained the only real cure.
What the attacker needed
Server runs vulnerable React RSC or Next.js App Router; No authentication required; Default setup is vulnerable
The fix
The vulnerability was fixed by upgrading React to version 19.2.1 or later and Next.js to version 15.5.7 or 16.0.7 or later.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
React Server Components let a server build parts of a web page before sending it to the browser. The server trusts data it receives in a special format, and a mistake in how it reads that data let an attacker make the server run their own commands. This is called remote code execution, meaning the attacker can run programs on the server without logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.