CVE-2026-46342: nuxt Cross-site Scripting
Vulnerability summary
CVE-2026-46342 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in nuxt. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.4% of scored vulnerabilities.
Timeline
- 12-06-2026PublishedVulnerability first disclosed.
- 12-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- NVDNIST2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · NpmEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
+0.04 pp
From 0.09% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-349Acceptance of Extraneous Untrusted Data With Trusted DataThe product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.
- CWE-444Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
Affected systems
Nuxt2 products
- nuxt≥ 4.0.0-alpha.1, < 4.4.6 | ≥ 3.1.0, < 3.21.6 | ≥ 4.0.0, < 4.4.5
- nuxt\/nitro-server≥ 3.20.0, < 3.21.6 | ≥ 4.2.0, < 4.4.6
@nuxt1 product
- nitro-server≥ 3.20.0, < 3.21.6 | ≥ 4.2.0, < 4.4.6
Npm1 product
- nuxt≥ 3.1.0, < 3.21.6 | ≥ 4.0.0-alpha.1, < 4.4.6
3 vendors · 4 products
References
4 links- github.com/nuxt/nuxt/security/advisories/GHSA-g8wj-3cr3-6w7vX Refsource CONFIRMWEBMitigationPatchVendor Advisory
- github.com/nuxt/nuxtPACKAGE