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
Tools/GitHubGitHub/kimtruth/cve-2025-55183-poc
Web Vulnerability ScannersVulnerability AnalysisCode AnalysisExploitationWeb SecurityPenetration Testing
GitHubkimtruth/cve-2025-55183-poc

CVE-2025-55183-poc

PoC for CVE-2025-55183

View Repository
733611 months agoNot yet reviewed
Share

CVE-2025-55183-poc – Next.js React Server Components Server Function Source Code Disclosure

This repository contains detection tooling for a source code disclosure vulnerability in Next.js React Server Components (RSC) / Server Actions, tracked as CVE-2025-55183.

In vulnerable applications, a crafted HTTP request to a Server Function can cause the server to return the full JavaScript source code of that function when the reference is stringified (for example, via template literals or implicit coercion in database queries).

React's fix adds a toString() override for server references that returns a constant placeholder string instead of the real function body. Applications running older builds may still leak source code if server references are directly or indirectly stringified and reflected back to the client.

⚠️ Legal notice:
These tools are for security testing and research on systems you own or are explicitly authorized to test. Unauthorized scanning or exploitation may be illegal.


Repository contents

  • CVE-2025-55183.yaml
    Nuclei template that:
    1. Discovers _next/static/chunks/*.js files
    2. Extracts candidate server action IDs from those chunks
    3. Sends RSC requests targeting each action
    4. Flags responses that appear to contain server function source code

Vulnerability summary

  • ID: CVE-2025-55183

  • Component: React Server Components / Server Actions in Next.js apps

  • Impact: Server-side JavaScript source code disclosure

  • Root cause:
    Server references (Server Functions) did not override toString(). When such a reference was passed as an argument to code that coerced it to a string, its full source code could be returned to the client (for example, via an error path, logging, or query-building logic).

  • Fix (upstream): React now installs a toString descriptor on server references that returns a constant placeholder such as:

  function () { [omitted code] }

This prevents real function bodies from being exposed even if stringified.

For details on the underlying React changes, see:

  • React commit: 894bc73cb493487c48d57f4508e6278db58e673a
  • React blog: “Denial of service and source code exposure in React Server Components”

Detection with Nuclei

Requirements

  • Nuclei v3+
  • Network access to the target Next.js app
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.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    439
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    264

Explore all tools

Browse our collection of tools

View all tools →