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
react2shelldemo — This repo contains the scripts you can execute to simulate the (CVE-2025-55182) along with next.js server | Kitploit
Tools/GitHubGitHub/premdanav/react2shelldemo
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubpremdanav/react2shelldemo

react2shelldemo

This repo contains the scripts you can execute to simulate the (CVE-2025-55182) along with next.js server

View Repository
2311 months agoNot yet reviewed
Share

React2Shell (CVE-2025-55182) — Local RSC Security Demo

⚠️ WARNING This repository is for educational and defensive security research only.

Do NOT attempt to run this code against:

  • Production systems
  • Public websites
  • Servers you do not own or have explicit permission to test

Unauthorized exploitation of vulnerabilities can be illegal.


📌 Overview

This repository demonstrates the real-world impact of React2Shell (CVE-2025-55182) — a critical Remote Code Execution (RCE) vulnerability affecting React Server Components (RSC) and frameworks such as Next.js.

The demo shows how unsafe deserialization in vulnerable environments can lead to:

  • Server-side code execution
  • Filesystem access
  • Directory enumeration

All testing was performed locally in a controlled environment.


🧪 Demo Scenarios

The demo script contains three isolated examples:

  1. Minimal RCE proof

    • Logs a message from server-side execution
  2. Filesystem write

    • Creates a file in the server working directory
  3. Directory enumeration

    • Lists files from the server process directory

These examples are intentionally simple to highlight impact, not exploitation.


🔧 High-Level Simulation Steps (Local Only)

  1. Create a local Next.js test application
  2. Run it in a controlled development environment
  3. Ensure the environment reflects a vulnerable configuration
  4. Execute the demo script from a browser context
  5. Observe server-side logs and filesystem changes

⚠️ No public deployment is required or recommended.


🛡️ Mitigation Guidance

If you use React Server Components:

  • Upgrade React and Next.js to patched versions immediately
  • Audit server actions and RSC boundaries
  • Treat serialization/deserialization as a high-risk surface
  • Monitor server logs for anomalous RSC payloads

📚 References

  • React2Shell official site: https://react2shell.com/
  • React security advisory:
    https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
  • Original research & PoC:
    https://github.com/lachlan2k/React2Shell-CVE-2025-55182-original-poc

⚖️ Legal & Ethical Notice

This project is intended to raise awareness and help developers understand the severity of RCE vulnerabilities.

The author is not responsible for misuse of this code.

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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    547
  • 3

    ARTEX

    baarai/artex

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

    369
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    282

Explore all tools

Browse our collection of tools

View all tools →