Vulnerability DatabaseGHSA-fjv4-77jr-mrxm

GHSA-fjv4-77jr-mrxm: 
JavaScript vulnerability analysis and mitigation

Summary

next-resume is an internal Next.js header used to resume a partially prerendered (PPR) render: when it is set on a POST request, the request body is read as the postponed state of the render. Next.js strips this header from untrusted incoming requests since 15.5.16 / 16.2.5 (GHSA-mg66-mrh9-m8jx). OpenNext does not use the Next.js router server, which performs this filtering, and maintains its own list of internal headers to strip in core/routingHandler.ts (NEXT_INTERNAL_HEADERS). That list was copied from an older Next.js version and does not include next-resume, so the header sent by the client reaches Next.js.

Details

Where Next.js honors next-resume:

Next.jsbase-server.jsApp Router page handler
15.x, 16.0.xminimal mode onlynot handled
>= 16.1.0minimal mode onlycacheComponents enabled, regardless of minimal mode (build/templates/app-page.js, app-page-runtime.js since 16.3)
OpenNext does not run Next.js in minimal mode. Only applications using Next.js >= 16.1 with cacheComponents enabled are affected.
For those applications, a POST request with next-resume: 1 to an App Router page makes the page handler read the request body as the postponed state, which is the condition fixed by Next.js in GHSA-mg66-mrh9-m8jx (request-body handling deadlock when combined with a server action, leading to connection exhaustion).

Impact

Applications using Next.js >= 16.1 with cacheComponents enabled are exposed to the denial of service described in GHSA-mg66-mrh9-m8jx: crafted POST requests can keep requests open until they time out, consuming server capacity (for example concurrent Lambda executions). Applications using Next.js 15.x or 16.0.x, or not enabling cacheComponents, are not affected.

Workarounds

Until you upgrade, strip or block requests containing the next-resume header at the CDN or proxy in front of OpenNext, for example with a CloudFront function or a Cloudflare WAF / Transform Rule. Make sure OpenNext cannot be reached through an endpoint that bypasses that rule, for example a Lambda Function URL or the default API Gateway endpoint.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-mw6w-2fmv-pvw3MEDIUM5.9
  • JavaScript logoJavaScript
  • @sveltejs/kit
NoYesNov 13, 2026
GHSA-jf9x-2fg2-hx4wMEDIUM5.9
  • JavaScript logoJavaScript
  • @sveltejs/adapter-static
NoYesNov 13, 2026
GHSA-5wg4-q3ww-283hMEDIUM5.9
  • JavaScript logoJavaScript
  • @sveltejs/adapter-cloudflare
NoYesNov 13, 2026
GHSA-rqw3-x7hx-mm3pMEDIUM5.9
  • JavaScript logoJavaScript
  • @sveltejs/adapter-node
NoYesNov 13, 2026
CVE-2026-128123MEDIUM5.9
  • JavaScript logoJavaScript
  • @sveltejs/adapter-node
NoYesNov 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management