
React2shell vulnerable lab (CVE-2025-55182)
This is a deliberately vulnerable Next.js application for testing CVE-2025-55182 and CVE-2025-66478 (React Server Components RCE).
⚠️ WARNING: This application is intentionally vulnerable. Use only in isolated lab environments.
This lab includes:
Build the Docker image:
docker build -t react2shell-lab .
Run the container:
docker run -p 3000:3000 --name react2shell-lab react2shell-lab
Access the application: Open http://localhost:3000 in your web browser.
First, install dependencies:
npm install
Then run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
About the vulnerabilities:
About Next.js:
To learn more about Next.js, take a look at the following resources: