
Lightweight scanner and Nuclei templates for identifying React and Next.js deserialization RCEs (CVE-2025-55182 / CVE-2025-66478).
CLI tool + Nuclei templates for detecting two critical RCE vulnerabilities in React Server Components and Next.js Server Actions.
The scanner was rewritten based on the disclosed react2shell vuln.
CVE-2025-55182 – React Server Components Deserialization RCE
A flaw in the React Flight deserialization process allows user-controlled references to resolve to server functions, leading to remote code execution.
Affects React 19.0.0–19.2.0.
CVE-2025-66478 – Next.js Server Actions RCE
Next.js inherits the same unsafe deserialization behavior when handling Server Actions, resulting in the same RCE pathway.
Affects Next.js 14.3.0-canary.77 through 16.0.6.
Both are rated CVSS 10.0 due to trivial exploitability and full RCE impact. Updated releases of React and Next.js provide patches.
Fingerprint only:
python3 scanner.py -u https://example.com --fingerprint-only
Callback detection
(use any DNS/HTTP listener, including Burp Collaborator):
python3 scanner.py -u https://example.com --callback-url https://your-id.oast.pro/r2s
Nuclei workflow:
nuclei -u https://example.com -w nuclei/react2shell-workflow.yaml
Vulnerability discovery and PoC research by: