CVE Catalog

CVE-2025-48068

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

Next.js, 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, may have allowed limited source code exposure when the dev server was running with 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.

Risk Assessment

The risk primarily affects developers who may inadvertently expose parts of the application's source code. This could lead to leakage of project structure information, facilitating further attacks.

Recommendation

Update Next.js to version 14.2.30 or 15.2.2 (or later). Avoid visiting untrusted websites while the development server is running.

Other vulnerabilities in Next.js

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS