Next.js security patches: checks for Shopify app teams
Next.js lists fixes in 16.4.5 and 15.5.29. Check cache and Edge cookie configurations, then verify the patched build is deployed.
Teams running Next.js for a Shopify-connected application or custom storefront should check their deployed framework version against the 3 November security release. Next.js lists fixes in 16.4.5 for its active LTS line and 15.5.29 for its maintenance LTS line.
The release covers seven issues involving caching, response handling, Edge cookies and image processing. Exposure depends on the application's configuration. These advisories do not establish a vulnerability in Shopify's hosted checkout or in every Shopify app.
Two configurations to inspect first
The root-parameter cache advisory affects versions 16.3.0 through 16.4.4 and now explicitly lists 16.4.5 as patched. It concerns a function that reads a root parameter and uses use cache, called both directly during rendering and through unstable_cache().
A race during the first cache fill after a process starts can put one root parameter's result into a cache entry later returned for other values. Avoiding that unsupported nesting is a complete workaround for this particular issue, not for the whole release.
There is a severity discrepancy: the release post calls this issue High, while the linked GitHub advisory labels it Moderate, with a score of 6.3. The affected configuration and patched version are more useful deployment checks than treating either label as a description of every application.
The Edge cookie advisory covers 16.0.0–16.4.4 and 15.0.0–15.5.28. When affected Edge routes set a sensitive cookie through NextResponse, an internal response header can duplicate its value, making it readable by JavaScript on the same origin even if the cookie is HttpOnly. This does not itself provide an attacker with JavaScript execution.
Patch and verify the deployment
Our recommendation is to inventory each deployed Next.js application, identify its major version and upgrade to the corresponding fixed release. Test authentication, locale or tenant routing and cached responses before rollout, then confirm the deployed artifact actually contains the patched dependency.
Review all seven entries in the release against the application's runtime and hosting setup; the two examples above are not an exhaustive exposure assessment. Merchants using a third-party app can ask its developer whether it uses Next.js, whether an affected configuration is present and whether the fixed build has been deployed.
More from News
See all →
