CVE-2025-48068
Published:May 30, 2025
Updated:May 17, 2026
Next.js is a React framework for building full-stack web applications. In versions starting from 13.0 to before 14.2.30 and 15.0.0 to before 15.2.2, Next.js may have allowed limited source code exposure when the dev server was running with the App Router enabled. The vulnerability only affects local development environments and requires the user to visit a malicious webpage while npm run dev is active. This issue has been patched in versions 14.2.30 and 15.2.2.
Affected Packages
https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v15.0.0 <v15.2.2Fix Suggestion:
Update to version v15.2.2https://github.com/vercel/next.js.git (GITHUB):
Affected version(s) >=v13.0.0 <v14.2.30Fix Suggestion:
Update to version v14.2.30next (NPM):
Affected version(s) >=15.0.0 <15.2.2Fix Suggestion:
Update to version 15.2.2next (NPM):
Affected version(s) >=13.0.0 <14.2.30Fix Suggestion:
Update to version 14.2.30next (NPM):
Affected version(s) >=13.0.0 <14.2.30Fix Suggestion:
Update to version 14.2.30Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Missing Origin Validation in WebSockets
EPSS
Base Score:
0.10