Interpretation Conflict Affecting @nuxt/nitro-server package, versions >=4.6.0 <4.6.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th 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-NUXTNITROSERVER-22132590
  • published2 Nov 2026
  • disclosed2 Nov 2026
  • creditseslo82

Introduced: 2 Nov 2026

NewCVE-2026-120309  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade @nuxt/nitro-server to version 4.6.2 or higher.

Overview

@nuxt/nitro-server is a Nitro server integration for Nuxt

Affected versions of this package are vulnerable to Interpretation Conflict via getRouterParam and getRouterParams in nuxt/server, which misalign the raw request URL against the decoded path h3 routed on when a path segment contains an encoded question mark (%3F). Because h3 routes only up to the decoded ? but the raw URL is not cut at the same point, the helpers read parameters from the wrong path segments and can return a value different from the one h3 matched in event.context.params. An attacker can craft a request where an authorization check using the Nuxt helper passes for one resource while the actual resource selection, driven by event.context.params or h3's matched params, operates on a different resource, enabling access to unauthorized resources.

Note: This is only exploitable when an application reads the same route parameter from two different sources - one being getRouterParam/getRouterParams and the other being event.context.params or h3's helpers - and relies on them agreeing.

Workaround

Upgrade to nuxt@4.6.2. If upgrading is not possible: read a route parameter from a single source for both the authorization check and the resource lookup, or reject requests whose path contains %3F in a server middleware.

References

CVSS Base Scores

version 4.0
version 3.1