cve.bz

CVE-2025-48068 vercel next.js: Missing Origin Validation in WebSockets

2.3 lowEPSS 0.3%Fix available

Low (2.3) in vercel next.js. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in next 14.2.30, 15.2.2.

On this page
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.

Severity

CVSS 4.0

2.3 low
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

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1385 Missing Origin Validation in WebSockets
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48068 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48068?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48068?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48068 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vercel:next.jsfrom 13.0.0 before 14.2.30
vercel:next.jsfrom 15.0.0 before 15.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3h52-269p-cp9rnpmnext>=15.0.0 <15.2.215.2.2
GHSA-3h52-269p-cp9rnpmnext>=13.0 <14.2.3014.2.30

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 8firefoxOut of support scope
Red Hat Enterprise Linux 8thunderbirdOut of support scope
Red Hat Enterprise Linux 9dotnet7.0Fix deferred
Red Hat Enterprise Linux 9firefoxFix deferred
Red Hat Enterprise Linux 9thunderbirdFix deferred
Red Hat Enterprise Linux AI (RHEL AI)rhelai1/pathservice-rhel9Will not fix
Red Hat Enterprise Linux AI (RHEL AI)rhelai1/ui-rhel9Will not fix
Red Hat Trusted Artifact Signerrhtas/rekor-search-ui-rhel9Will not fix
streams for Apache Kafka 2com.github.streamshub-consoleFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48068.

References

Check your stackJSON