CVE-2025-48068
next.js: Information exposure in Next.js dev server due to lack of origin verification
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 30, 2025
Updated · June 30, 2026
Description
A flaw was found in Next.js. This vulnerability allows limited source code exposure via visiting a malicious webpage while the development server is running with the App Router enabled.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
CWE-1385 · Missing Origin Validation in WebSockets