Insertion of Sensitive Information Into Sent Data Affecting next package, versions >=15.0.0 <15.5.29>=16.0.0 <16.4.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NEXT-22733200
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-119346  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade next to version 15.5.29, 16.4.5 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data via NextResponse on Edge runtime routes (App Router route handlers and Pages Router Edge API routes), which incorrectly include the internal x-middleware-set-cookie header in public responses. This header duplicates cookie values and their attributes, causing HttpOnly cookies such as session tokens to become readable by JavaScript running on the same origin, effectively bypassing the HttpOnly protection.

CVSS Base Scores

version 4.0
version 3.1