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
check-react-rce-cve-2025-55182 — Security scanner to detect CVE-2025-55182 & CVE-2025-66478 vulnerabilities in React Server Components (RSC) projects | Kitploit
Tools/GitHubGitHub/zihxs/check-react-rce-cve-2025-55182
Static AnalysisVulnerability ScannersCode AnalysisWeb SecurityDevSecOpsSupply Chain Security
GitHubzihxs/check-react-rce-cve-2025-55182

check-react-rce-cve-2025-55182

Security scanner to detect CVE-2025-55182 & CVE-2025-66478 vulnerabilities in React Server Components (RSC) projects

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
629 months agoNot yet reviewed
Share

React RCE Vulnerability Scanner (CVE-2025-55182)

A comprehensive security scanning tool to detect CVE-2025-55182 and CVE-2025-66478 vulnerabilities in React and Next.js projects using React Server Components (RSC).

CVSS Score Node.js License

🚨 Overview

This tool scans your project for vulnerable versions of React, Next.js, and related RSC packages that are susceptible to Remote Code Execution (RCE) attacks. The vulnerability allows unauthenticated attackers to execute arbitrary code on your server.

⚠️ Critical Alert: As of December 2025, approximately 39% of cloud environments contain instances of Next.js or React with vulnerable versions. Immediate action is required if you're using React Server Components.

✨ Features

  • 🔍 Automatic Package Detection - Scans node_modules for vulnerable package versions
  • 📁 Project Structure Analysis - Detects App Router vs Pages Router usage
  • 🔎 Server Actions Scanner - Finds "use server" directives in your codebase
  • 🛠️ RSC Framework Detection - Identifies RSC-enabled frameworks (Remix, Waku, RedwoodJS, etc.)
  • 📊 Risk Assessment - Provides clear risk conclusions (CRITICAL/MEDIUM/SAFE)
  • 💡 Remediation Guidance - Suggests exact commands to patch vulnerabilities
  • 📦 Packages Scanned

    PackageDescription
    reactCore React library
    nextNext.js framework
    react-server-dom-webpackRSC Webpack integration
    react-server-dom-parcelRSC Parcel integration
    react-server-dom-turbopackRSC Turbopack integration

    🚀 Quick Start

    Prerequisites

    • Node.js 16 or higher
    • npm or yarn

    Installation

    1. Clone this repository or download check.js:
    root@kitploit:~
    git clone https://github.com/yourusername/check-react-rce-cve-2025-55182.git
    
    1. Navigate to your React/Next.js project directory:
    root@kitploit:~
    cd /path/to/your/project
    
    1. Run the scanner:
    root@kitploit:~
    node /path/to/check.js
    

    Alternative: Direct Usage

    You can also copy check.js directly into your project and run:

    root@kitploit:~
    node check.js
    

    📋 Sample Output

    root@kitploit:~
    ===========================================================================
                 REACT RCE VULNERABILITY SCANNER (CVE-2025-55182)
    ===========================================================================
    
    Scanning installed packages...
    Starting Deep Codebase Scanning...
    
    ===========================================================================
                                  AUDIT REPORT
    ===========================================================================
    
    [CVE-2025-55182] React Vulnerability
    ---------------------------------------------------------------------------
    react                          : 19.0.0       VULNERABLE (React 19.0.0 < 19.0.1)
    react-server-dom-webpack       : 19.0.0       VULNERABLE (19.0.0 < 19.0.1)
    
    [CVE-2025-66478] Next.js Vulnerability
    ---------------------------------------------------------------------------
    next                           : 15.0.3       VULNERABLE (v15.0.x < 15.0.5)
    
    [Project Analysis]
    ---------------------------------------------------------------------------
    Router Type                    : App Router (RSC-enabled)
    Server Actions Usage           : Detected (5 files)
    
    ===========================================================================
    RISK CONCLUSION: CRITICAL (CVSS 10.0 - Remote Code Execution)
    ===========================================================================
    
    ⚠ ACTION REQUIRED:
    Your project uses React Server Components with vulnerable packages.
    This vulnerability allows unauthenticated remote code execution.
    
    Vulnerable packages: react, next, react-server-dom-webpack
    
    Run the following commands to patch:
    > npm install react@latest react-dom@latest
    > npm install next@latest
    > npm update react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack
    

    📖 Understanding the Results

    Risk Levels

    LevelDescription
    🔴 CRITICALVulnerable packages detected + RSC features in use. Immediate action required.
    🟡 MEDIUMVulnerable packages detected, but RSC not actively detected. Update recommended.
    🟢 SAFENo vulnerable packages or using versions before RSC support.

    Status Indicators

    StatusMeaning
    VULNERABLEPackage version is affected by the CVE
    SAFEPackage is updated to a patched version
    SAFE_CLASSICPackage version predates RSC (not affected)
    NOT INSTALLEDPackage not found in project
    UNKNOWNUnable to determine version status

    🔧 Patched Versions

    React (CVE-2025-55182)

    BranchVulnerable VersionsPatched Version
    React 19.0.x19.0.0≥ 19.0.1
    React 19.1.x19.1.0, 19.1.1≥ 19.1.2
    React 19.2.x19.2.0≥ 19.2.1
    React 18.x and earlier—Not affected (no RSC support)

    Next.js (CVE-2025-66478)

    BranchPatched Version
    Next.js 16.0.x≥ 16.0.7
    Next.js 15.5.x≥ 15.5.7
    Next.js 15.4.x≥ 15.4.8
    Next.js 15.3.x≥ 15.3.6
    Next.js 15.2.x≥ 15.2.6
    Next.js 15.1.x≥ 15.1.9
    Next.js 15.0.x≥ 15.0.5
    Next.js 14.3.0-canary.77+⚠️ Vulnerable (canary with Flight Protocol)
    Next.js 14.x (stable)Not affected
    Next.js 13.xNot affected

    Not Affected

    The following configurations are NOT affected by these vulnerabilities:

    • Next.js 13.x and earlier
    • Next.js 14.x stable releases
    • Applications using only the Pages Router
    • Applications running on Edge Runtime
    • React 18.x and earlier (no RSC support)

    🛡️ About the Vulnerabilities

    CVE-2025-55182 (React)

    Severity: CRITICAL (CVSS 10.0)

    Affected Packages:

    • react-server-dom-webpack
    • react-server-dom-parcel
    • react-server-dom-turbopack

    Vulnerability Type: Insecure Deserialization

    Description: A critical Remote Code Execution (RCE) vulnerability exists in the react-server package, which is integral to React Server Components (RSC). The flaw stems from an insecure deserialization vulnerability within the RSC "Flight" protocol.

    The vulnerability allows an unauthenticated attacker to achieve remote code execution on the server by sending a specially crafted HTTP request to any Server Function endpoint. Even applications that do not explicitly implement React Server Function endpoints may be vulnerable if they support React Server Components, as the vulnerability affects default configurations.

    Attack Vector:

    • Attacker sends a specially crafted HTTP request to the server
    • The React Flight protocol processes and deserializes RSC payloads in an unsafe manner
    • Malicious input triggers arbitrary code execution on the server
    • Proof-of-concepts have shown near-100% reliability against default configurations

    Impact:

    • Full server compromise
    • Data exfiltration
    • Access to environment variables and secrets
    • Malware installation
    • Lateral movement within infrastructure

    References:

    • CVE-2025-55182 Official Record
    • React Security Bulletin (December 3, 2025)

    CVE-2025-66478 (Next.js)

    Severity: CRITICAL (CVSS 10.0)

    Affected Package: next

    Vulnerability Type: Insecure Deserialization (inherited from React RSC)

    Description: A critical Remote Code Execution vulnerability in Next.js affects applications using the App Router with React Server Components. This vulnerability is the downstream manifestation of CVE-2025-55182, as Next.js inherits the flaw through its implementation of the React Flight protocol.

    The vulnerability allows unauthenticated attackers to execute arbitrary code on affected servers by sending specially crafted HTTP requests that exploit the unsafe processing of RSC payloads.

    Attack Vector:

    • Targets server-side processing of RSC payloads
    • Attackers craft malicious requests exploiting the Flight protocol
    • When processed by the Next.js server, results in arbitrary code execution
    • No authentication required

    Impact:

    • Complete server takeover
    • Access to environment variables and secrets
    • Database access and manipulation
    • Ability to modify application behavior
    • Full infrastructure compromise

    References:

    • CVE-2025-66478 Official Record
    • Next.js Security Advisory

    ⚠️ Other Impacted Frameworks

    The React Flight protocol vulnerability affects any framework or bundler that implements React Server Components. If your project uses any of the following, you should verify your React packages are patched:

    Framework/ToolStatusNotes
    Next.js⚠️ ImpactedPrimary framework using RSC. Update to patched versions.
    React Router⚠️ ImpactedWhen in RSC mode, verify React packages are updated.
    Waku⚠️ ImpactedMinimal RSC framework. Must use patched React versions.
    RedwoodJS (rwsdk)⚠️ Impactedrwsdk uses RSC. Ensure React packages are patched.
    Parcel⚠️ ImpactedIf using @parcel/rsc, verify React packages.
    Vite⚠️ ImpactedIf using @vitejs/plugin-rsc, verify React packages.
    Remix⚠️ Potentially ImpactedIf using experimental RSC features, ensure React is patched.

    Key Takeaway

    Any application using React Server Components is potentially vulnerable. The core vulnerability exists in React's RSC implementation, so regardless of which framework you use, you must update the React packages (react, react-dom, react-server-dom-*) to the patched versions.


    ☁️ Cloud Provider WAF Protections

    Major cloud providers have proactively deployed Web Application Firewall (WAF) rules to protect against these vulnerabilities. However, WAF protection is a temporary measure and does NOT eliminate the need to patch your applications.

    Cloudflare

    FeatureDetails
    Status✅ Protected
    CoverageAll customers (Free, Pro, Business, Enterprise)
    RequirementTraffic must be proxied through Cloudflare WAF
    Action RequiredEnsure Managed Rules are enabled (Pro/Enterprise)
    NoteCloudflare Workers are inherently immune to this exploit

    Cloudflare has deployed new WAF rules to automatically block exploitation attempts for CVE-2025-55182. All customers whose React application traffic is proxied through Cloudflare are automatically protected.

    To verify protection:

    1. Log in to Cloudflare Dashboard
    2. Navigate to Security → WAF → Managed Rules
    3. Ensure rules are enabled and updated

    Amazon Web Services (AWS)

    FeatureDetails
    Status✅ Protected
    Rule SetAWSManagedRulesKnownBadInputsRuleSet (v1.24+)
    CoverageAWS WAF customers using managed rules
    Action RequiredVerify rule set version is 1.24 or later

    AWS has integrated updated rules for CVE-2025-55182 into the default version (1.24) of the AWS WAF managed rule set.

    To enable protection:

    root@kitploit:~
    # Verify your rule set version in AWS Console
    # Security → WAF → Web ACLs → [Your ACL] → Rules
    

    Custom Rule Option: For immediate protection, you can deploy custom AWS WAF rules to detect and prevent exploitation attempts:

    root@kitploit:~
    {
      "Name": "BlockReactRCE",
      "Priority": 0,
      "Statement": {
        "ByteMatchStatement": {
          "SearchString": "rsc-payload-exploit-pattern",
          "FieldToMatch": { "Body": {} },
          "TextTransformations": [{ "Priority": 0, "Type": "NONE" }],
          "PositionalConstraint": "CONTAINS"
        }
      },
      "Action": { "Block": {} }
    }
    

    Note: Managed AWS services are generally not affected, but applications running vulnerable React/Next.js versions in your own environment should be updated immediately.


    Microsoft Azure

    FeatureDetails
    Status✅ Protected
    Rule SetDefault Rule Set (DRS) 2.1
    CoverageAzure WAF customers
    Action RequiredVerify using DRS 2.1 or create custom rules

    Azure WAF with the latest Default Rule Set (DRS) 2.1 can detect some attempts to exploit this vulnerability.

    To enable protection:

    1. Navigate to Azure Portal → Application Gateway or Front Door
    2. Go to WAF policy → Managed Rules
    3. Ensure DRS 2.1 is selected
    4. Optionally create custom rules for additional protection

    Custom Rule Example: Organizations can create custom WAF rules specifically tailored to block the exploit pattern. Azure recommends validating custom rules in a test environment before production deployment.


    Google Cloud Platform (GCP)

    FeatureDetails
    Status✅ Protected
    ServiceCloud Armor
    CoverageCloud Armor customers
    Action RequiredEnable preconfigured WAF rules

    Google Cloud Armor provides protection through its preconfigured WAF rules and can be configured with custom security policies.

    To enable protection:

    1. Navigate to Google Cloud Console → Network Security → Cloud Armor
    2. Create or update security policy
    3. Enable preconfigured WAF rules for known vulnerabilities
    4. Apply policy to backend services

    Vercel

    FeatureDetails
    Status✅ Protected
    CoverageAll Vercel deployments
    Action RequiredStill must update Next.js to patched version

    Vercel has implemented platform-level mitigations to protect hosted applications. However, Vercel strongly recommends updating to the patched versions of Next.js.


    Important WAF Considerations

    ⚠️ WAF protection is a temporary measure. All cloud providers emphasize that:

    1. WAFs do not fix the vulnerability - They only block known exploit patterns
    2. Attackers may bypass WAFs - New exploit variants could evade detection
    3. Patching is mandatory - Update to fixed versions immediately
    4. Rebuild applications - After upgrading, rebuild to ensure patched dependencies are used

    🔒 How to Patch

    Quick Fix

    Run the following commands in your project directory:

    root@kitploit:~
    # Update React packages
    npm install react@latest react-dom@latest
    
    # Update Next.js (if using)
    npm install next@latest
    
    # Update RSC packages (if present)
    npm update react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack
    
    # IMPORTANT: Rebuild your application
    npm run build
    

    Verification

    After updating, run the scanner again to confirm all vulnerabilities are patched:

    root@kitploit:~
    node check.js
    

    Expected output should show:

    root@kitploit:~
    RISK CONCLUSION: SAFE
    ✓ Your system is safe from CVE-2025-55182 and CVE-2025-66478.
    

    Additional Security Recommendations

    1. Rebuild Applications - After upgrading, rebuild to ensure patched dependencies are used
    2. Validate Third-Party Dependencies - Check frameworks and bundlers that might bundle vulnerable React packages
    3. Implement Defense-in-Depth:
      • Runtime sandboxing for server-side JavaScript
      • Strict routing for RSC endpoints
      • Continuous monitoring for suspicious activity
    4. Restrict Public Access - If immediate patching is not possible, restrict access to RSC-enabled endpoints

    🔍 Timeline & Discovery

    DateEvent
    December 3, 2025Vulnerability disclosed by security researchers
    December 3, 2025CVE-2025-55182 and CVE-2025-66478 assigned
    December 3, 2025React team publishes security bulletin
    December 3, 2025React and Next.js teams release patches
    December 3, 2025Cloud providers deploy WAF protections
    December 3, 2025No reported instances of exploitation in the wild

    📚 Additional Resources

    Official Advisories

    • React Security Bulletin (December 3, 2025)
    • Next.js Security Advisory
    • GitHub Advisory Database

    CVE Records

    • NIST NVD - CVE-2025-55182
    • NIST NVD - CVE-2025-66478

    Cloud Provider Documentation

    • Cloudflare WAF - React RCE Protection
    • AWS WAF Managed Rules
    • Azure WAF Documentation
    • Google Cloud Armor

    Security Analysis

    • Wiz Research - React RSC Vulnerability Analysis
    • Palo Alto Networks - Threat Brief
    • Snyk Vulnerability Database

    📄 License

    MIT License - See LICENSE for details.


    Stay secure! 🔐

    Download Tool