Vulnerabilities

CVE-2025-48068

Medium 4.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-05-30
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 7 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
next (npm) ≥ 13.0, < 14.2.30 Affected
next (npm) ≥ 15.0.0, < 15.2.2 Affected
Vercel Next.js ≥ 13.0.0, < 14.2.30 Affected
Vercel Next.js ≥ 15.0.0, < 15.2.2 Affected

Weakness type

References

Related at Berigo

Articles

Services

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities