CVE-2025-48068 Information exposure in Next.js dev server due to lack of origin verification
LowCVSS 2.3
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 13.0, < 14.2.30; >= 15.0.0, < 15.2.2 | 14.2.30, 15.2.2 | Fixed |
| vercel next.js | = >= 13.0, < 14.2.30; = >= 15.0.0, < 15.2.2; >= 13.0.0, < 14.2.30; >= 15.0.0, < 15.2.2 | 14.2.30, 15.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 15.0.0, < 15.2.2 | 15.2.2 |
| npm next(npm) | >= 13.0, < 14.2.30 | 14.2.30 |
| vercel next.js | = >= 13.0, < 14.2.30 | No fix listed |
| vercel next.js | = >= 15.0.0, < 15.2.2 | No fix listed |
| vercel next.js | >= 13.0.0, < 14.2.30 | 14.2.30 |
| vercel next.js | >= 15.0.0, < 15.2.2 | 15.2.2 |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9r vendor-advisory
- https://vercel.com/changelog/cve-2025-48068 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product