CVE-2025-48068: vercel next.js Missing Origin Validation in WebSockets
Vulnerability summary
CVE-2025-48068 is a medium (CVSS 4.3) Missing Origin Validation in WebSockets vulnerability in vercel next.js. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.5% of scored vulnerabilities.
Timeline
- 30-05-2025PublishedVulnerability first disclosed.
- 13-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
- NVDNIST2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Npm1 product
- next≥ 15.0.0, < 15.2.2 | ≥ 13.0, < 14.2.30
Vercel1 product
- next.js≥ 13.0, < 14.2.30 | ≥ 13.0.0, < 14.2.30 | ≥ 15.0.0, < 15.2.2
2 vendors · 2 products
References
4 links- github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9rX Refsource CONFIRMWEBVendor Advisory
- github.com/vercel/next.jsPACKAGE