
* React2Shell-CVE-2025-55182
Critical Security Vulnerability Demo - CVSS 10.0 - Remote Code Execution in React Server Components
FOR EDUCATIONAL PURPOSES ONLY!
This repository demonstrates a critical security vulnerability.
Never use on production systems or exposed networks.
# Pull and run directly
docker run -p 3000:3000 ihsansencan/react2shell:latest
# CVE
docker run -p 3000:3000 ihsansencan/react2shell:cve-2025-55182
docker run -p 3000:3000 ihsansencan/react2shell:cve-2025-66478
# Versioned
docker run -p 3000:3000 ihsansencan/react2shell:v1.0
# 1. Build the vulnerable container
docker build -t cve-2025-55182-poc .
# 2. Run the demo
docker run -p 3000:3000 --name react2shell cve-2025-55182-poc
# 3. Open browser
# http://localhost:3000
The vulnerability allows:
📁 Project Structure
/react2shell
├── Dockerfile
├── package.json
├── next.config.js
├── app/
│ ├── actions.js
│ ├── layout.js
│ ├── page.js
│ └── api/
│ └── command/
│ └── route.js
├── README.md
├── LICENSE
└── img/
├── 1.png
├── 2.png
└── 3.png
🚀 Demo Screenshot

🔒 Patching
# IMMEDIATE FIX
npm install [email protected] [email protected] [email protected]