Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!
React2Shell-Kingdom — "Once upon a time, the Castle of Reactland trusted all Flight messages... until The Imposter arrived." A storytelling CVE-2025-55182 (React2Shell) demo - Medieval-themed vulnerable React Server Components app for security education. | Kitploit
"Once upon a time, the Castle of Reactland trusted all Flight messages... until The Imposter arrived." A storytelling CVE-2025-55182 (React2Shell) demo - Medieval-themed vulnerable React Server Components app for security education.
This project demonstrates a critical RCE vulnerability (CVE-2025-55182 / React2Shell) in React Server Components 19.1.1.
FOR EDUCATIONAL AND SECURITY RESEARCH PURPOSES ONLY
NEVER deploy to production or expose to untrusted networks
Run only in isolated, controlled environments
Ensure proper authorization before testing
Overview
This project demonstrates CVE-2025-55182 (React2Shell), a critical Remote Code Execution (RCE) vulnerability in React Server Components 19.1.1. The application includes:
A single-page website with username/password authentication
React Server Components (RSC) implementation
RSC Flight protocol endpoint (vulnerable)
Docker deployment configuration
POC exploit payload demonstrating the vulnerability
Ensure all dependencies are installed (npm install)
Exploit doesn't work
Verify the server is running
Check that the RSC endpoint is accessible
Review server logs for errors
Ensure the exploit script has proper permissions
Docker issues
Ensure Docker is running
Check Docker Compose version compatibility
Verify port 3000 is available
Review Docker logs: docker-compose logs
References
CVE-2025-55182: React2Shell vulnerability
React Server Components documentation
RSC Flight protocol specification
License
MIT License - For educational purposes only
Disclaimer
This software is provided for educational and security research purposes only. The authors and contributors are not responsible for any misuse or damage caused by this software. Use at your own risk and ensure compliance with all applicable laws and regulations.