CVE Database
/

CVE-2025-30218

Back to search

CVE-2025-30218

Published: Apr 2, 2025

Modified: Oct 13, 2025

PUBLISHED

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.

VendorProductVersions

vercel

next.js

affected
= 12.3.5
affected
= 13.5.9
affected
= 14.2.25
affected
= 15.2.3

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now