TL;DR: React2Shell (CVE-2025-55182) allows unauthenticated remote code execution through React Server Components and frameworks such as Next.js, because crafted HTTP requests can abuse unsafe RSC payload deserialization in default deployments, according to Xygeni. The issue turns framework-level trust into a server-side execution path, so patching, SBOM review, and runtime detection now matter more than static dependency checks.
NHIMG editorial — based on content published by Xygeni: React2Shell analysis across React Server Components and Next.js
By the numbers:
- Security researchers confirm nearly 100% exploitation reliability for React2Shell, and report that 39% of cloud environments run vulnerable instances.
- Researchers also found that 44% of all environments run publicly exposed Next.js applications affected by React2Shell.
Questions worth separating out
Q: What breaks when a framework trusts serialized request data too much?
A: When a framework trusts serialized request data too much, an unauthenticated HTTP request can become server-side execution.
Q: Why do server-side framework flaws create identity risk as well as application risk?
A: Server-side framework flaws create identity risk because the application runtime usually runs with a workload identity, service account, or token set that already has real permissions.
Q: How do security teams know whether React2Shell-style exposure is actually contained?
A: They need three signals: all deployed builds reference fixed versions, no vulnerable RSC packages appear in compiled artefacts or dependency trees, and logs show no suspicious requests or abnormal outbound activity after disclosure.
Practitioner guidance
- Patch vulnerable React server packages immediately Upgrade affected React and Next.js versions to the patched releases and verify that transitive framework packages no longer pull in vulnerable RSC implementations.
- Scan for exposed RSC endpoints and default framework paths Identify public Next.js and other RSC-enabled deployments, then confirm which endpoints accept React Flight payloads over HTTP.
- Correlate SCA results with runtime telemetry Use software composition analysis alongside logs for malformed multipart payloads, repeated 500 responses, and suspicious Next-Action headers.
What's in the full article
Xygeni's full analysis covers the operational detail this post intentionally leaves for the source:
- Package-version mapping for the affected React server components and Next.js releases
- Detection logic for malformed React Flight traffic and characteristic error responses
- Patch sequencing guidance for large JavaScript estates with transitive framework dependencies
- Temporary WAF and cloud-provider response options while remediation is rolling out
👉 Read Xygeni's analysis of React2Shell exposure across React Server Components and Next.js →
React2Shell and Next.js exposure: are your controls keeping up?
Explore further
Framework defaults are now an identity and privilege problem, not just an application bug. React2Shell shows that modern web stacks can embed executable trust assumptions deep inside default server behaviour. When an unauthenticated request can reach code execution, workload identity and runtime privilege become the real control plane. Practitioners should treat framework defaults as security policy, because those defaults define who or what can act inside the server boundary.
A few things that frame the scale:
- The average estimated time to remediate a leaked secret is 27 days, despite 75% of organisations expressing strong confidence in their secrets management capabilities, according to The State of Secrets in AppSec.
- Organisations maintain an average of 6 distinct secrets manager instances, creating fragmentation that undermines centralised control, according to The State of Secrets in AppSec.
A question worth separating out:
Q: What should teams do when a public framework vulnerability affects default deployments?
A: Teams should prioritise containment before everything else: patch the affected packages, restrict public access where possible, and reduce the runtime privileges of the impacted workload. Then validate the full SBOM and monitor for exploitation traffic. Default-deployment exposure means the blast radius may be wider than expected, so remediation needs both code and identity controls.
👉 Read our full editorial: React2Shell exposes unauthenticated RCE across React server apps