VulnWatch by ve1ve2
medium 6.0 EPSS 0.30%

GHSA-f3mh-rxg3-f5g2 / CVE-2026-119346: Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Source:
GitHub Security Advisories
Published:
Fetched:
Updated:
Affects:
next

https://github.com/advisories/GHSA-f3mh-rxg3-f5g2 ↗

ghsanpmCWE-200CWE-201

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes 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. Affected packages: npm:next Patched: next 15.5.29, next 16.4.5

Linked vulnerabilities (2)

CVE-2026-119346 medium 6.0 EPSS 0.30% (p23) NVDCVE.orgGHSA
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

next: Next.js: Information disclosure via internal cookie header exposure

CWE: CWE-212, CWE-200, CWE-201Aliases: GHSA-f3mh-rxg3-f5g2NVD: Awaiting Analysis
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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

CWE: CWE-200, CWE-201Aliases: CVE-2026-119346

Also reported by (1)