Next.js ImageResponse flaw can lead to server code execution when attacker-controlled values reach generated SVG.
Google can index JS-loaded images when properly configured. Check rendered HTML in Search Console to diagnose why images aren't appearing. Update XML sitemaps and add alt text to maximize JS image ...