A pair of security issues in Next.js shows how a framework feature and a host environment can combine into a high-impact attack path.