CVE-2025-30218
1 advisory.
npm/next CVE-2025-30218: medium 5.9, EPSS 0.42%
Next.js may leak x-middleware-subrequest-id to external hosts
Action: Upgrade next to 12.3.6 or later.
npm i next@12.3.6npm i next@13.5.10npm i next@14.2.26npm i next@15.2.4Affected
| introduced | fixed | last affected |
|---|---|---|
| 12.3.5 | 12.3.6 | - |
| 13.5.9 | 13.5.10 | - |
| 14.2.25 | 14.2.26 | - |
| 15.2.3 | 15.2.4 | - |
Fixed versions
| 12.3.6 | 13.5.10 | 14.2.26 | 15.2.4 |
Sources
- osv: GHSA-223j-4rm8-mrmf
- nvd: CVE-2025-30218
- https://github.com/vercel/next.js/security/advisories/GHSA-223j-4rm8-mrmf
- https://github.com/vercel/next.js
- https://vercel.com/changelog/cve-2025-30218-5DREmEH765PoeAsrNNQj3O
CVE-2025-30218 · published · modified · JSON