CVE-2025-55182 (React2Shell) affects serverless Lambda deployments running Next.js via OpenNext.js, but existing scanners miss it because they look for traditional shell-based RCE. In Lambda's bundled environment, Webpack accidentally blocks shell access, but the vulnerability still enables Server-Side JavaScript Injection

10m read timeFrom infosecwriteups.com
Post cover image
Table of contents
IntroductionUnderstanding Serverless Next.js DeploymentsTraditional Next.js DeploymentsThe Lambda ChallengeEnter OpenNext.jsWhy This Matters for React2Shell (CVE-2025–55182)Why Existing Scanners FailGet Matthew Keeley’s stories in your inboxDemonstrating the VulnerabilityThe “Aha!” MomentProbing the SandboxThe Lambda Difference: From RCE to SSJIWhy Traditional RCE is Blocked (Accidentally)The Power of SSJI: Stealing the Keys to the KingdomRCE vs SSJI: A Side-by-Side ComparisonThe Irony of Modern ToolingDetection and Mitigation

Sort: