GHSA-f87g-xv8r-7p7xMediumCVSS 5.3

Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

Published
October 7, 2026
Last Modified
October 7, 2026

🔗 CVE IDs covered (1)

📋 Description

In Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the dynamicParams route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from generateStaticParams().

🎯 Affected products1

  • npm/next:>= 16.0.0, < 16.3.8

🔗 References (5)