Exploit database

GH-e4d582372129d3cf221a9ec207f97324

fullhunt/react2shell-test-server

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-55182

257 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files1
fullhunt/react2shell-test-serverRevision 07c050530ffc

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

app/actions/serverActions.ts

TypeScript · 864 bytes
'use server'

// Server Action - vulnerable to React2Shell
// This demonstrates the vulnerability in React Server Components
export async function processData(data: string): Promise<string> {
  // This Server Action is vulnerable because React 19.0.0 has unsafe
  // deserialization in the RSC Flight protocol
  
  // Simulate processing
  await new Promise(resolve => setTimeout(resolve, 100))
  
  // The vulnerability allows RCE through crafted payloads
  // even without explicit Server Function endpoints
  return `Processed: ${data}`
}

// Additional Server Action that might be exploited
export async function executeCommand(command: string): Promise<string> {
  // This is intentionally vulnerable to demonstrate the RCE capability
  // In a real exploit, attackers would craft payloads to execute arbitrary code
  return `Command received: ${command}`
}