Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes
영향
| 패키지 | 영향받는 버전 | 수정 버전 |
|---|---|---|
| npm:next | >= 15.0.0, <= 15.5.28 | 15.5.29 |
| npm:next | >= 16.0.0, <= 16.4.4 | 16.4.5 |
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.
이 취약점에 대한 VulnPulse 해설Next.js 16.4.5 and 15.5.29 fix seven flaws, most of them caches serving one tenant's or user's content to another
2026. 11. 20. 오전 07:23, GitHub Advisory Database에서 "Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: JavaScript / Node.js, Next.js. CVE: CVE-2026-119346.