CVE-2025-48068

Information exposure in Next.js dev server due to lack of origin verification

State
Published
Severity
2.3 Low
Published
May 30, 2025
Updated
Jun 13, 2025
Reserved
May 15, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-1385 Missing Origin Validation in WebSockets

Affected Products

ProductVersions
next.jsvercel
  • >= 13.0, < 14.2.30Affected
  • >= 15.0.0, < 15.2.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.