Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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-audit — A lightweight, recursive Bash script to detect Next.js and React Server DOM versions vulnerable to CVE-2025-55182 (React2Shell) in local projects. | Kitploit
Tools/GitHubGitHub/hamm0nz/react2shell-audit
Vulnerability ScannersCode AnalysisWeb SecurityDevSecOpsSupply Chain SecurityLearning & Education
GitHubhamm0nz/react2shell-audit

react2shell-audit

A lightweight, recursive Bash script to detect Next.js and React Server DOM versions vulnerable to CVE-2025-55182 (React2Shell) in local projects.

View Repository
129 months agoNot yet reviewed

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 Audit (CVE-2025-55182)

React2Shell Audit is a lightweight, recursive Bash script designed to detect local Next.js and React Server DOM installations vulnerable to CVE-2025-55182 (React2Shell) and CVE-2025-66478.

License Bash Security

🚨 The Vulnerability

React2Shell is a critical remote code execution (RCE) vulnerability in React Server Components (RSC). It allows unauthenticated attackers to execute arbitrary code on the server via the RSC "Flight" protocol.

This tool helps developers and security engineers instantly audit their local development environment or CI/CD pipelines to ensure their dependencies are patched.

🚀 Features

  • Recursive Scanning: Automatically finds all projects in a monorepo (skips node_modules to ensure speed).
  • Deep Version Inspection: checks the actual installed version in node_modules rather than the vague ranges in .
package.json
  • Branch-Aware Logic: Correctly differentiates between release lines (e.g., it knows 19.0.1 is safe for the 19.0 branch, while 19.1.0 is vulnerable).
  • Next.js Canary Detection: Flags dangerous Next.js 14.x Canary builds that introduced the vulnerability.
  • Zero Dependencies: Runs on standard Bash with no external npm packages required (optional jq support for higher precision).
  • 🔍 How Detection Works

    • This script implements the detection logic based on the official advisory. It uses a "Matrix Match" strategy rather than a simple version comparison to account for parallel release lines.
    • Contextual Analysis: It iterates through every sub-project in your repository.
    • Branch Matching: It identifies which "minor" version branch you are using (e.g., 19.0.x vs 19.2.x).
    • Patch Verification: It verifies if your installed patch version meets the specific requirement for that branch.

    🛠️ Installation & Usage

    Clone & Run

    root@kitploit:~
    git clone https://github.com/hamm0nz/react2shell-audit.git
    cd react2shell-audit
    chmod +x scan.sh
    ./scan.sh
    

    📸 Example Output

    root@kitploit:~
    Starting Recursive Scan for React2Shell...
    ---------------------------------------------------
    Checking: ./apps/legacy-dashboard
      react-server-dom-webpack: [VULNERABLE] 19.1.0 (Update to >= 19.1.2)
      next:                     [VULNERABLE] 15.1.3 (Update to >= 15.1.9)
    ---------------------------------------------------
    Checking: ./apps/marketing-site
      next:                     [SAFE] 15.1.9
    ---------------------------------------------------
    Scan Complete.
    

    ⚠️ Disclaimer

    This tool is for educational and audit purposes. Always refer to official advisories from Vercel and Meta for the most up-to-date patch information. The authors are not responsible for missed vulnerabilities.

    Download Tool