Data Exposure Vulnerability in Next.js Framework by Vercel
CVE-2025-30218
1.7LOW
Summary
Next.js, a framework developed by Vercel for building full-stack web applications, has a vulnerability due to improper validation of the 'x-middleware-subrequest-id'. This subrequest ID can be unintentionally exposed when making fetch requests to third-party services, even if those services are not associated with the original Next.js application host. It is crucial for developers using Next.js to upgrade to versions 12.3.6, 13.5.10, 14.2.26, or 15.2.4, where this issue has been addressed to prevent potential data leaks.
Affected Version(s)
next.js = 12.3.5 = 12.3.5
next.js = 13.5.9 = 13.5.9
next.js = 14.2.25 = 14.2.25
References
CVSS V4
Score:
1.7
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved