Improper Verification of Source of a Communication Channel Affecting @nuxt/webpack-builder package, versions >=3.15.4 <3.21.7>=4.0.0-alpha.1 <4.4.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th 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-NUXTWEBPACKBUILDER-17337029
  • published14 Jun 2026
  • disclosed12 Jun 2026
  • creditBerkan SAL, DavidCarliez

Introduced: 12 Jun 2026

NewCVE-2026-49993  (opens in a new tab)
CWE-940  (opens in a new tab)

How to fix?

Upgrade @nuxt/webpack-builder to version 3.21.7, 4.4.7 or higher.

Overview

@nuxt/webpack-builder is a Webpack bundler for Nuxt

Affected versions of this package are vulnerable to Improper Verification of Source of a Communication Channel through the isSameOriginRequest check in the dev-server request handling path. An attacker can send a browser-originated request with Sec-Fetch-Site, Origin, and Referer all absent to reach a development server bound to a non-loopback address and trigger privileged dev-server actions. This lets a remote page issue requests against the developer’s running server and abuse local build, file, or control endpoints that the server exposes.

Workarounds

  • Do not use nuxt dev --host; keep the dev server bound to localhost and, if you need access from other devices, tunnel to it through SSH or a reverse proxy that enforces same-origin checks.
  • Switch to the Vite builder for development instead of the webpack or rspack builder.

CVSS Base Scores

version 4.0
version 3.1