Description
Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-201 — CWE-201: Insertion of Sensitive Information Into Sent Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vercel | next.js | >= 15.0.0, < 15.5.29 [affected]; >= 16.0.0, < 16.4.5 [affected] |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2 (x_refsource_CONFIRM)
- https://github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d1f2 (x_refsource_MISC)
- https://github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56fa29 (x_refsource_MISC)
- https://github.com/vercel/next.js/releases/tag/v15.5.29 (x_refsource_MISC)
- https://github.com/vercel/next.js/releases/tag/v16.4.5 (x_refsource_MISC)
- https://nextjs.org/blog/november-2026-security-release (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 17 Nov 2026 08:04 UTC.