What happened
Improper escaping in the SVG that Satori builds for ImageResponse (next/og) could lead to remote code execution when it runs on the Node.js runtime. Open Graph images built from user input, such as product names or titles, are the typical exposure. The Edge runtime is not affected.
Next.js 15.x is not affected; 15.5.26 only adds hardening.
What to do
- Upgrade Next.js to the latest 16.x release and redeploy.
- Until you can, move ImageResponse routes to the Edge runtime or stop passing user-controlled text into them.
