Vulnerability GHSA-f3mh-rxg3-f5g2

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
5 days ago
November 19, 2026 at 10:23 PM UTC
Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes
15.0.0 - 15.5.28 and 16.0.0 - 16.4.4
15.0.0 - 15.5.28 and 16.0.0 - 16.4.4

Summary

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Details

Next.js applications that set cookies through NextResponse on Edge runtime routes — App Router route handlers and Pages Router Edge API routes — send an internal x-middleware-set-cookie header in the public response, duplicating the cookie value and its attributes. This makes HttpOnly cookies, such as session tokens, readable by JavaScript running on the same origin when an application sets a sensitive cookie on an affected response.

Impacted packages

Timeline

Published
5 days ago
November 19, 2026 at 10:23 PM UTC
Fixed (16.4.5)
21 days ago
November 03, 2026 at 06:01 PM UTC
Fixed (15.5.29)
21 days ago
November 03, 2026 at 06:36 PM UTC
Last Modified
5 days ago
November 19, 2026 at 10:45 PM UTC