
Proof-of-concept scanner for CVE-2025-55182, an unauthenticated RCE in React Server Components. Supports batch scanning, JSON/CSV export, and interactive shell on vulnerable targets.
A proof-of-concept scanner for CVE-2025-55182, a critical unauthenticated Remote Code Execution (RCE) vulnerability in React Server Components (RSC).
On December 3, 2025, a critical vulnerability was disclosed affecting React 19.x and Next.js applications using React Server Components. The flaw exists in the RSC "Flight" protocol's deserialization logic, allowing attackers to execute arbitrary code on the server via crafted HTTP requests.
| Attribute | Value |
|---|---|
| CVE | CVE-2025-55182 |
| CVSS | Critical |
| Attack Vector | Network |
| Authentication | None |
| Exploitation | Actively exploited in the wild |
| Product | Vulnerable Versions | Patched Versions |
|---|---|---|
| react-server-dom | 19.0.x, 19.1.x, 19.2.x | 19.0.1, 19.1.2, 19.2.1 |
| Next.js (App Router) | 14.3.0-canary.77+, 15.x, 16.x | 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7 |
go run ./cmd/main.go -t https://example.com
go run ./cmd/main.go -t https://example.com -shell
go run ./cmd/main.go -f targets.txt -c 20
go run ./cmd/main.go -f targets.txt -json results.json -csv results.csv
React2Shell Scanner v1.0.0
CVE-2025-55182 | React Server Components RCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[+] VULN https://app.example.com/ 142ms
[-] SAFE https://api.example.com/ 203ms
[!] ERROR https://internal.example.com/ (timeout) 15000ms
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SCAN COMPLETE
Targets scanned: 3
Vulnerable: 1 (33%)
Safe: 1
Errors: 1
Duration: 15.4s
Avg response: 5115ms
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VULNERABLE TARGETS
1. https://app.example.com/
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REMEDIATION
Upgrade to patched versions:
Next.js:
15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7
react-server-dom:
19.0.1, 19.1.2, 19.2.1
The vulnerability exists in the RSC "Flight" protocol's handling of serialized payloads. When processing specially crafted multipart form data, the server fails to properly validate the payload structure, allowing prototype pollution that leads to arbitrary code execution.
Look for POST requests containing:
Next-Action header__proto__ referencesX-Action-Redirect responses__proto__ in bodyNext-Action header patternsINTERNAL USE ONLY
This tool is intended for authorized security testing only. Use against systems you own or have explicit permission to test. Unauthorized access to computer systems is illegal.
Internal use only. Not for distribution.
| Flag | Description | Default |
|---|
-t, -target | Single target URL | |
-f, -file | File containing target URLs | |
-c, -concurrency | Number of concurrent scanners | 10 |
-timeout | HTTP timeout in seconds | 15 |
-json | Export results to JSON file | |
-csv | Export results to CSV file | |
-q, -quiet | Suppress banner and progress | false |
-s, -shell | Interactive shell on vulnerable target | false |