Skip to content

React2Shell Remote Code Execution Vulnerability Exploitation

A critical React2Shell remote code execution vulnerability (CVE-2025-55182) has been exploited to breach over 30 organizations, with over 77,000 Internet-exposed IP addresses vulnerable to the flaw.

Severity awaiting reviewZero day
Incident date
Published
Read time
5 min
C
CertGPS

Not independently reviewed

AI-assisted content. Editorial policy · Suggest a correction

View source
On this page

Note: This analysis is based on publicly available information from source article. Facts are clearly separated from technical analysis.

Executive Summary

On December 3, 2025, React disclosed a critical zero-day vulnerability, known as React2Shell, which affects all frameworks that implement React Server Components, including Next.js. This vulnerability enables attackers to trigger remote, unauthenticated execution of arbitrary commands via a single HTTP request. As of December 6, 2025, Shadowserver Internet watchdog group detected 77,664 IP addresses vulnerable to the React2Shell flaw. Over 30 organizations have already been compromised through the React2Shell flaw, according to Palo Alto Networks.

The React2Shell vulnerability is a significant threat to web applications that use React Server Components, and it highlights the importance of keeping software up-to-date and secure. Developers are required to update React to the latest version, rebuild their applications, and then redeploy to fix the vulnerability.

What Happened: Timeline

✅ Verified Facts

TimeEvent
December 3, 2025React disclosed the vulnerability
December 4, 2025Security researcher Maple3142 published a working proof-of-concept demonstrating remote command execution against unpatched servers
December 6, 2025Shadowserver Internet watchdog group detected 77,664 IP addresses vulnerable to the React2Shell flaw

Technical Deep Dive

Understanding React Server Components

React Server Components is a feature of React that allows developers to render components on the server-side. This enables faster page loads and improved SEO. However, it also introduces new security risks, such as the React2Shell vulnerability.

How does it work?

React Server Components use a technique called "server-side rendering" to render components on the server-side. When a user requests a page, the server renders the component and sends the rendered HTML to the client. The client then receives the HTML and renders it in the browser.

Security considerations

The React2Shell vulnerability highlights the importance of secure deserialization of client-controlled data. In this case, the vulnerability allows attackers to inject malicious data into the server-side rendering process, enabling remote command execution.

Understanding Next.js

Next.js is a popular framework for building server-side rendered React applications. It provides a set of features and tools that make it easy to build fast and scalable applications.

How does it work?

Next.js uses a technique called "static site generation" to pre-render pages at build time. When a user requests a page, Next.js serves the pre-rendered HTML directly from the server.

Security considerations

Next.js inherits the security risks of React Server Components, including the React2Shell vulnerability. However, Next.js also provides additional security features, such as automatic code splitting and server-side rendering.

Understanding GreyNoise

GreyNoise is a security company that provides threat intelligence and incident response services. They recorded 181 distinct IP addresses attempting to exploit the React2Shell flaw over the past 24 hours.

How does it work?

GreyNoise uses a combination of machine learning and human analysis to identify and track malicious IP addresses. They provide real-time threat intelligence and incident response services to help organizations respond to security incidents.

Analysis: What Went Wrong

Technical Root Cause

The technical root cause of the React2Shell vulnerability is the insecure deserialization of client-controlled data in React Server Components. This allows attackers to inject malicious data into the server-side rendering process, enabling remote command execution.

Contributing Factors

The contributing factors to the React2Shell vulnerability include:

  • Insecure deserialization of client-controlled data in React Server Components
  • Lack of secure coding practices in React Server Components
  • Insufficient testing and validation of React Server Components

Lessons for Security Professionals

Key Takeaways

  1. Secure deserialization of client-controlled data is critical: Insecure deserialization of client-controlled data can lead to remote command execution and other security risks.
  2. Keep software up-to-date and secure: Regularly update and patch software to prevent known security vulnerabilities.
  3. Implement secure coding practices: Follow secure coding practices, such as input validation and error handling, to prevent security risks.

Prevention & Detection

How to Prevent

  • Keep software up-to-date and secure: Regularly update and patch software to prevent known security vulnerabilities.
  • Implement secure coding practices: Follow secure coding practices, such as input validation and error handling, to prevent security risks.
  • Use threat intelligence and incident response services: Use threat intelligence and incident response services, such as GreyNoise, to identify and respond to security incidents.

How to Detect

  • Monitor for suspicious activity: Monitor for suspicious activity, such as unusual network traffic or system behavior.
  • Use threat intelligence and incident response services: Use threat intelligence and incident response services, such as GreyNoise, to identify and respond to security incidents.
  • Implement security information and event management (SIEM) systems: Implement SIEM systems to collect and analyze security-related data.
View related certification topics

CISSP

  • Domain 1: Security and Risk Management: The React2Shell vulnerability highlights the importance of secure deserialization of client-controlled data and the need for secure coding practices.
  • Domain 2: Asset Security: The React2Shell vulnerability highlights the importance of keeping software up-to-date and secure to prevent known security vulnerabilities.
  • Domain 3: Security Engineering: The React2Shell vulnerability highlights the importance of secure coding practices, such as input validation and error handling, to prevent security risks.

CompTIA Security+

  • Objective 1.2: Implement secure protocols: The React2Shell vulnerability highlights the importance of secure deserialization of client-controlled data and the need for secure coding practices.
  • Objective 1.3: Implement secure protocols: The React2Shell vulnerability highlights the importance of keeping software up-to-date and secure to prevent known security vulnerabilities.
  • Objective 2.1: Implement secure protocols: The React2Shell vulnerability highlights the importance of secure coding practices, such as input validation and error handling, to prevent security risks.

Other Relevant Certifications

  • CEH: The React2Shell vulnerability highlights the importance of secure deserialization of client-controlled data and the need for secure coding practices.
  • CISM: The React2Shell vulnerability highlights the importance of keeping software up-to-date and secure to prevent known security vulnerabilities.
  • CIW: The React2Shell vulnerability highlights the importance of secure coding practices, such as input validation and error handling, to prevent security risks.

Source (1)

This analysis is based on: https://www.bleepingcomputer.com/news/security/react2shell-flaw-exploited-to-breach-30-orgs-77k-ip-addresses-vulnerable/


This incident analysis is provided for educational purposes. Facts are cited from the source article, while technical analysis represents professional interpretation.