Nuxt 4.6.0 before 4.6.2 Route Param Confusion via getRouterParam
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nuxtnuxt |
≥ 4.6.0, < 4.6.2→ 4.6.2 |
4.6.2 |
Original description The description as published by the source.
Nuxt from 4.6.0 before 4.6.2 contains a route parameter confusion vulnerability in getRouterParam and getRouterParams that lets attackers return a parameter value different from the one h3 matched by sending paths containing an encoded question mark (%3F). Attackers can craft requests where authorization checks use the Nuxt helper value while resource selection uses event.context.params, allowing access to unauthorized resources.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com