CVE-2025-48068Vercel Next.js
Low 2.3 No auth needed
Follow: this CVE · Vercel · Vercel Next.js We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- No
- Published
- May 30, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1385
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Next.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | next |
≥ 15.0.0 < 15.2.2 |
15.2.2 |
npm install next@15.2.2 |
| npm | next |
≥ 13.0 < 14.2.30 |
14.2.30 |
npm install next@14.2.30 |
Per OSV / GitHub Advisories (GHSA-3h52-269p-cp9r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vercel | next.js | ≥ 13.0.0 < 14.2.30 |
| vercel | next.js | ≥ 15.0.0 < 15.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- vercel.com Vendor Advisory