{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-30218","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-03-18T18:15:13.850Z","datePublished":"2025-04-02T21:23:14.660Z","dateUpdated":"2025-10-13T15:37:02.310Z"},"containers":{"cna":{"title":"Next.js may leak x-middleware-subrequest-id to external hosts","problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":1.7,"baseSeverity":"LOW","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U","version":"4.0"}}],"references":[{"name":"https://github.com/vercel/next.js/security/advisories/GHSA-223j-4rm8-mrmf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vercel/next.js/security/advisories/GHSA-223j-4rm8-mrmf"},{"name":"https://vercel.com/changelog/cve-2025-30218-5DREmEH765PoeAsrNNQj3O","tags":["x_refsource_MISC"],"url":"https://vercel.com/changelog/cve-2025-30218-5DREmEH765PoeAsrNNQj3O"}],"affected":[{"vendor":"vercel","product":"next.js","versions":[{"version":"= 12.3.5","status":"affected"},{"version":"= 13.5.9","status":"affected"},{"version":"= 14.2.25","status":"affected"},{"version":"= 15.2.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-10-13T15:37:02.310Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-223j-4rm8-mrmf","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-03T13:43:59.337390Z","id":"CVE-2025-30218","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-03T13:44:11.988Z"}}]}}