Facepalm: A widely used web technology is affected by a serious security vulnerability that can be exploited with minimal effort to compromise servers. Known as "React2Shell," the flaw may require extensive patching by numerous organizations, both on the public internet and across cloud environments.

Researchers have uncovered a critical security flaw that could have catastrophic consequences for web and private cloud infrastructure. The vulnerability affects the React framework and represents a rare "perfect" issue – easy to exploit and capable of causing serious damage to web servers.
React is an open-source JavaScript library designed to simplify the development of user interfaces. Maintained by Meta and the open-source community, the framework supports both single-page and server-rendered applications. Its performance benefits come from its ability to selectively re-render only the parts of a page that have changed.
React powers an estimated six percent of all existing websites and is present in 39 percent of cloud environments. The technology also underpins many popular third-party components and frameworks, including Next.js. The vulnerability in React is tracked as CVE-2025-55182, while the related Next.js issue is tracked as CVE-2025-66478.

According to researchers at Wiz, the critical vulnerability affects default Next.js and React configurations and can be exploited with minimal effort. The root cause is the "Flight" protocol used in React Server Components (RSC). An insecure deserialization flaw in RSC allows attackers to trigger server-side execution of a remotely controlled malicious payload.
Exploitation is alarmingly simple: attackers only need to send a single, specially crafted HTTP request to a vulnerable server. Wiz analysts have already developed a working proof-of-concept exploit, although they have not yet released the full details. In internal testing, attempts to exploit React2Shell demonstrated near-perfect reliability.
The attack vector is completely remote and requires no authentication, Wiz said. Even worse, many cloud environments expose publicly accessible Next.js instances that may be vulnerable to this RSC flaw.
React developers have released an updated version of the framework that includes safer validation and deserialization routines to mitigate React2Shell-style attacks. Framework maintainers, hosting platforms, and cloud providers are being urged to update immediately – failing to do so will make attackers' jobs significantly easier and put users at risk. Google has stated that the OS images used in its Compute Engine cloud service are not vulnerable by default.
Critical vulnerability in React JS framework has a near 100% chance to be exploited