Origin Validation Error Affecting next package, versions >=16.0.0 <16.3.8


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NEXT-20569645
  • published8 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-94486  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade next to version 16.3.8 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Origin Validation Error via the MCP middleware (get-mcp-middleware.ts) and the cross-site dev request blocker (block-cross-site-dev.ts), which fail to adequately validate the request origin against the host. An attacker who controls a DNS record can rebind a malicious domain to the victim's localhost address, causing the victim's browser to issue cross-origin requests to the local Next.js development server that bypass the intended origin checks, resulting in limited confidentiality and integrity impact.

CVSS Base Scores

version 4.0
version 3.1