Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
React2Shell-CVE-2025-55182-An-lise-T-cnica β€” Educational technical analysis of CVE-2025-55182, a critical unauthenticated RCE in React Server Components and Next.js via React Flight deserialization, covering root cause, impact, detection, and mitigation. | Kitploit
Tools/GitHubGitHub/big02-bot/react2shell-cve-2025-55182-an-lise-t-cnica
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubbig02-bot/react2shell-cve-2025-55182-an-lise-t-cnica

React2Shell-CVE-2025-55182-An-lise-T-cnica

Educational technical analysis of CVE-2025-55182, a critical unauthenticated RCE in React Server Components and Next.js via React Flight deserialization, covering root cause, impact, detection, and mitigation.

View Repository
269 months agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    977
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    564
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    352
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    344
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    322
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    308

Explore all tools

Browse our collection of tools

View all tools β†’
Share

React2Shell (CVE-2025-55182)

πŸ“– Overview

This repository documents the security concepts studied in the TryHackMe room regarding CVE-2025-55182, a critical vulnerability affecting:

  • React Server Components (RSC)
  • Next.js and RSC-based frameworks
  • Packages:
    • react-server-dom-webpack
    • react-server-dom-parcel
    • react-server-dom-turbopack

The flaw enables:

Unauthenticated remote code execution through a single crafted HTTP request.

This material is intended exclusively for educational and defensive purposes, and does not contain answers, flags, or a complete walkthrough of the platform.


πŸ—οΈ Architecture Involved

Simplified RSC rendering flow

[ Browser ]
       β”‚
       β–Ό
[ React Flight Request ]
       β”‚
       β–Ό
[ Next.js / RSC on Server ]
       β”‚
       β–Ό
[ Node.js Runtime ]
       β”‚
       β–Ό
[ Operating System ]

React Server Components, introduced in React 19, allow:

  • Rendering components on the server
  • Reducing client-side JavaScript
  • Better performance and scalability

🧠 React Flight Protocol

Responsible for:

  • Serialization of server data
  • Deserialization of client requests
  • Execution of Server Actions

Relevant markers

MarkerFunction
$@Reference to chunk
$BReference to Blob
$1:constructor:constructorAccess to prototype chain

🚨 CVE-2025-55182 β€” Root Cause

Conceptual vulnerable snippet:

moduleExports[metadata[2]]

This JavaScript access:

  • traverses the prototype chain
  • can reach the Function constructor
  • allows arbitrary code execution

Impact chain

Insecure deserialization
        ↓
Access to prototype chain
        ↓
Invocation of Function()
        ↓
Remote Code Execution (RCE)

Result:

Full compromise of the execution environment.


πŸ”— Conceptual Exploitation Flow (High Level)

⚠️ No lab steps β€” only technical analysis.

Manipulated serialized payload
            ↓
Processing by React Flight
            ↓
Prototype chain traversal
            ↓
Dynamic JavaScript function creation
            ↓
Code execution on Node.js

Possible consequences:

  • reading sensitive files
  • accessing environment variables
  • executing system commands
  • lateral movement in cloud environments

πŸ§ͺ Educational Context Checks

In authorized test environments, initial confirmations may involve:

id        # process user
uname -a  # system information
pwd       # current directory
ls -la    # local files
env       # environment variables

These commands serve only to:

confirm the presence of remote execution,
they do not represent the complete room procedure.


🌐 Affected Versions

Vulnerable

React

  • 19.0.0
  • 19.1.0
  • 19.1.1
  • 19.2.0

Next.js

  • β‰₯ 14.3.0-canary.77
  • 15.x and 16.x series before patch

Fixed

Update to:

  • 19.0.1
  • 19.1.2
  • 19.2.1

πŸ›‘οΈ Detection and Monitoring

Network Indicators

Possible signs of exploitation:

  • unusual POST multipart/form-data requests
  • specific React Flight headers
  • serialized structures with prototype chain access

These patterns are:

rare in legitimate traffic,
making them strong attack indicators.


Endpoint and CI/CD Security

Good defensive practices:

  • audit react-server-dom-* dependencies
  • identify vulnerable versions
  • monitor build pipelines

Early detection significantly reduces production risk.


πŸ“‰ Security Impact

CVE-2025-55182 is critical because:

  • requires no authentication
  • has high exploit reliability
  • affects widely used technologies

Demonstrating that:

subtle deserialization flaws can result in full RCE.


πŸ“š Learning Objectives

The room emphasizes:

  • internal architecture of React Server Components
  • real-world remote code execution chains
  • detection and mitigation strategies
  • relationship between modern frontend and backend security

⚠️ Ethical Use

Content intended for:

  • cybersecurity education
  • responsible research
  • defensive strengthening

Exploiting systems without authorization is illegal.


🏁 Conclusion

React2Shell (CVE-2025-55182) shows that:

modern framework abstractions can hide
critical security boundaries.

Understanding these layers is essential for:

  • pentesters
  • defenders (SOC / Blue Team)
  • secure software engineers
Download Tool