Next.js may leak x-middleware-subrequest-id to external hosts
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vercel | next.js | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Vercel | Next.js | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-9629 | Next.js may leak x-middleware-subrequest-id to external hosts |
Github GHSA |
GHSA-223j-4rm8-mrmf | Next.js may leak x-middleware-subrequest-id to external hosts |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.431% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:vercel:next.js:12.3.5:*:*:*:*:node.js:*:* cpe:2.3:a:vercel:next.js:13.5.9:*:*:*:*:node.js:*:* cpe:2.3:a:vercel:next.js:14.2.25:*:*:*:*:node.js:*:* cpe:2.3:a:vercel:next.js:15.2.3:*:*:*:*:node.js:*:* |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Next.js is a React framework for building full-stack web applications. To mitigate CVE-2025-29927, Next.js validated the x-middleware-subrequest-id which persisted across multiple incoming requests. However, this subrequest ID is sent to all requests, even if the destination is not the same host as the Next.js application. Initiating a fetch request to a third-party within Middleware will send the x-middleware-subrequest-id to that third party. This vulnerability is fixed in 12.3.6, 13.5.10, 14.2.26, and 15.2.4. | |
| Title | Next.js may leak x-middleware-subrequest-id to external hosts | |
| Weaknesses | CWE-200 | |
| References |
| |
| Metrics |
cvssV4_0
|