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 (2.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 2nd percentile — 2.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
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
- github.com/nuxt/nuxt/pull/35077 (Issue Tracking)
- github.com/nuxt/nuxt/security/advisories/GHSA-g8wj-3cr3-6w7v (Patch, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-46342?
- CVE-2026-46342 is a medium-severity vulnerability in Nuxt, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-06-12.
- How severe is CVE-2026-46342?
- Medium severity. CVSS v3 base score is 5.4 out of 10.