Jaguarda Install skill

Security watch

Verify cookie handling on Next.js Edge routes

A Next.js advisory describes an extra response header that could reveal an HttpOnly cookie value from an Edge route.

Source published Web applications

Who this matters to

Next.js Edge routes setting cookies through NextResponse on versions 15.0.0–15.5.28 or 16.0.0–16.4.4. Check where the affected route runs in the deployed application.

What to do

Upgrade to a patched release for your branch and redeploy the affected routes. The advisory lists 15.5.29 and 16.4.5 as the first patched versions on the respective branches.

How to verify

Check the resolved version in the deployed build. Exercise a normal sign-in using a synthetic session and confirm the cookie value is absent from extra response headers. Redact cookie values in the review record.