Information Exposure Affecting next package, versions >=12.3.5 <12.3.6>=13.5.9 <13.5.10>=14.2.25 <14.2.26>=15.2.3 <15.2.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (15th 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-9634163
  • published3 Apr 2025
  • disclosed2 Apr 2025
  • creditJinseo Kim, Ry0taK

Introduced: 2 Apr 2025

NewCVE-2025-30218  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade next to version 12.3.6, 13.5.10, 14.2.26, 15.2.4 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Information Exposure via the exposure of x-middleware-subrequest-id to external hosts due to an incomplete fix for CVE-2025-29927. An attacker can potentially access sensitive information by initiating a fetch request to a third-party within Middleware, which will send the x-middleware-subrequest-id to that third party.

Note:

This is only exploitable if the attacker is controlling the third-party.

CVSS Base Scores

version 4.0
version 3.1