← VULNERABILITIES

DHI-nphz-dnw6-axf7-ua5x

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…

Unscored
CVSS
—
EPSS
—
Published
2026-11-20
Age
14d old
Modified
2026-12-04
Product
homepage-1

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.

Sources

  • OSV · first seen 14d ago · CC-BY 4.0

References

JSON