CVE-2025-48068

MEDIUM
Published May 30, 2025 Modified Sep 10, 2025 CWE-1385

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.

Is your site exposed to CVE-2025-48068?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.3
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Weakness Type (CWE)

CWE-1385 CWE-1385

Affected Products

Vendor Product
vercel next.js
vercel next.js

References

Frequently Asked Questions

What is CVE-2025-48068? +
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. It has a CVSS v3.1 base score of 4.3 (MEDIUM).
How severe is CVE-2025-48068? +
CVE-2025-48068 has a CVSS v3.1 score of 4.3 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-48068? +
CVE-2025-48068 affects products from vercel, specifically: next.js. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-48068? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-48068 — free, no signup required.