CVE-2025-48068 in Vercel Next.Js
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 envi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Vercel | Next.Js | ≥ 13.0.0, < 14.2.30 ≥ 15.0.0, < 15.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-48068 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-039263-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| Published | 2025-05-30 |
| Last modified | 2025-09-10 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1385: CWE-1385
Analysis AI-written, not human-reviewed
Next.js versions 13.0 to before 14.2.30 and 15.0.0 to before 15.2.2 may expose limited source code when the dev server is running with the App Router enabled, affecting local development environments.
The vulnerability can be exploited by visiting a malicious webpage while the Next.js dev server is running with the App Router enabled. This attack vector is limited to local development environments.
Questions
What is CVE-2025-48068?
Next.js versions 13.0 to before 14.2.30 and 15.0.0 to before 15.2.2 may expose limited source code when the dev server is running with the App Router enabled, affecting local development environments.
What is the CVSS score for CVE-2025-48068?
CVE-2025-48068 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N. EPSS: 0.4%.
Is CVE-2025-48068 actively exploited?
No confirmed active exploitation of CVE-2025-48068 as of 2026-05-30.
How do I remediate CVE-2025-48068?
Priority: MEDIUM. Advisory: https://vercel.com/changelog/cve-2025-48068 PSIRT: [email protected]
What systems are affected by CVE-2025-48068?
CVE-2025-48068 affects Vercel Next.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vercel","product":"Next.Js","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-09-10.