XSS in Nuxt
CVE-2026-46342
Nuxt is an open-source web development framework for Vue.js. In Nuxt versions 3.1.0 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6 and @nuxt/nitro-server versions 3.20.0 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, the /__nuxt_island/* endpoint accepts attacker-controlled props query/body parameters and renders any island component without verifying that the URL-resident hash (<Name>_<hashId>.json) was actually issued for those inputs by <NuxtIsland>. The hash is computed and embedded client-side but never validated server-side, so the same path can return materially different responses depending on the query. This issue has been patched in versions 3.21.6 and 4.4.6.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.001, 0.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nuxt — versions >= 3.1.0, < 3.21.6, >= 4.0.0-alpha.1, < 4.4.6
- Nuxt Nuxt\/nitro-Server
Weakness classification (CWE)
References
- https://github.com/nuxt/nuxt/pull/35077 (Issue Tracking)
- https://github.com/nuxt/nuxt/security/advisories/GHSA-g8wj-3cr3-6w7v (Patch, Mitigation, Vendor Advisory)