MEDIUM5.3
GHSA-f87g-xv8r-7p7x
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
Quick fix
GHSA-f87g-xv8r-7p7x — next: upgrade to the fixed version with the command below.
npm install next@16.3.8Details
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()`.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vercel/next.js/security/advisories/GHSA-f87g-xv8r-7p7x[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-94485[ADVISORY]
- https://github.com/vercel/next.js/commit/2d9f50a409312696145b82b3157aadb6b1fef476[WEB]
- https://github.com/vercel/next.js[PACKAGE]
- https://github.com/vercel/next.js/releases/tag/v16.3.8[WEB]