CVE-2025-48068
Information exposure in Next.js dev server due to lack of origin verification
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Next.js is a React framework for building full-stack web applications. In versions starting from 13.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 version 15.2.2.
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.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2025-05-15 CVE Reserved
- 2025-05-30 CVE Published
- 2025-06-05 EPSS Updated
- 2025-06-13 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-1385: Missing Origin Validation in WebSockets
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9r | X_refsource_confirm | |
https://vercel.com/changelog/cve-2025-48068 | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vercel Search vendor "Vercel" | Next.js Search vendor "Vercel" for product "Next.js" | >= 13.0.0 < 14.2.30 Search vendor "Vercel" for product "Next.js" and version " >= 13.0.0 < 14.2.30" | en |
Affected
| ||||||
Vercel Search vendor "Vercel" | Next.js Search vendor "Vercel" for product "Next.js" | >= 15.0.0 < 15.2.2 Search vendor "Vercel" for product "Next.js" and version " >= 15.0.0 < 15.2.2" | en |
Affected
|