CVE-2025-48068
next.js: Information exposure in Next.js dev server due to lack of origin verification
Overview
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.
Source: OX vulnerability database
Severity
4.3 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Weakness: CWE-1385
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | next | >=15.0.0, <15.2.2>=13.0, <14.2.30 | 15.2.214.2.30 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | firefox | eol |
| 8 | firefox +1 | eol |
| 9 | aspnetcore-runtime-7-0 +14 | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.0-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-48068
- github.com https://github.com/vercel/next.js
- github.com https://github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9r
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-48068
- vercel.com https://vercel.com/changelog/cve-2025-48068
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-48068
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.