Nextjs had remote code execution vulnerabilities because of how they implemented react server side. I am not touching an AI version without waiting for a while.
Bugs like this are easy to happen and even easier to miss if you’re generating thousands of lines of code with AI.