{"answers":{"affected":"8 open source packages ship an affected version, including @nuxt/nitro-server and nuxt. It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-46342 in the wild and no public exploit code.","fix":"Upgrade @nuxt/nitro-server to a fixed version for your release line: 3.21.6 or 4.4.6.","what":"CVE-2026-46342 is a low-severity cross-site scripting vulnerability in nuxt, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-46342 and fix it if it is affected.\n\nWhat it is: CVE-2026-46342 is a low-severity cross-site scripting vulnerability in nuxt, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-46342 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @nuxt/nitro-server (npm): affected from 3.20.0; fixed in 3.21.6\n- @nuxt/nitro-server (npm): affected from 3.20.0; fixed in 3.21.6\n- @nuxt/nitro-server (npm): affected from 4.2.0; fixed in 4.4.6\n- @nuxt/nitro-server (npm): affected from 4.2.0; fixed in 4.4.6\n- nuxt (npm): affected from 3.1.0; fixed in 3.21.6\n- nuxt (npm): affected from 3.1.0; fixed in 3.21.6\n- nuxt (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\n- nuxt (npm): affected from 4.0.0-alpha.1; fixed in 4.4.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46342/ (Markdown: https://insights.sbomify.com/CVE-2026-46342/index.md)","id":"CVE-2026-46342","markdown":"https://insights.sbomify.com/CVE-2026-46342/index.md","name":"CVE-2026-46342","record":{"aliases":["GHSA-g8wj-3cr3-6w7v"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Nuxt web framework","requires_auth":"none","summary":"Attackers can poison shared caches by manipulating props in Nuxt island endpoints, leading to cross-site scripting and data modification.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuxt","vendor":"nuxt"},{"product":"nuxt\\/nitro-server","vendor":"nuxt"}],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"},{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"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 (\u003cName\u003e_\u003chashId\u003e.json) was actually issued for those inputs by \u003cNuxtIsland\u003e. 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nuxt: `__nuxt_island` endpoint does not bind responses to request props, enabling shared-cache poisoning","id":"CVE-2026-46342","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":8,"n_references":2,"next":{"headline":"Wazuh: Arbitrary File Deletion via Cluster Protocol – Incomplete Path Validation in end_receiving_file()","id":"CVE-2026-46343"},"packages":[{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.20.0"],"last_affected":[],"package":"@nuxt/nitro-server","purl":null,"source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.20.0"],"last_affected":[],"package":"@nuxt/nitro-server","purl":"pkg:npm/%40nuxt/nitro-server","source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.2.0"],"last_affected":[],"package":"@nuxt/nitro-server","purl":null,"source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.2.0"],"last_affected":[],"package":"@nuxt/nitro-server","purl":"pkg:npm/%40nuxt/nitro-server","source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.1.0"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["3.21.6"],"introduced":["3.1.0"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-g8wj-3cr3-6w7v"},{"ecosystem":"npm","fixed":["4.4.6"],"introduced":["4.0.0-alpha.1"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-g8wj-3cr3-6w7v"}],"prev":{"headline":"Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching","id":"CVE-2026-46341"},"products":["nuxt"],"published":"2026-06-12","related":[{"cvss_score":8.8,"headline":"Nuxt: Route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher","id":"CVE-2026-53721","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.8,"headline":"Path Traversal: '../filedir' in Nuxt Devtools","id":"CVE-2024-23657","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.8,"headline":"Remote code execution via the browser when running the test locally in nuxt","id":"CVE-2024-34344","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.6,"headline":"Server-Side Request Forgery (SSRF) in nuxt-icon","id":"CVE-2024-42352","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.1,"headline":"Code Injection in nuxt/nuxt","id":"CVE-2023-3224","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":7.5,"headline":"Nuxt allows DOS via cache poisoning with payload rendering response","id":"CVE-2025-27415","kev_date_added":null,"published":"2025-03-19"},{"cvss_score":6.8,"headline":"Nuxt - Arbitrary File Read via World-Connectable vite-node IPC Socket on Linux","id":"CVE-2026-56301","kev_date_added":null,"published":"2026-06-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-12","vendors":["nuxt"]},"summary":"Attackers can poison shared caches by manipulating props in Nuxt island endpoints, leading to cross-site scripting and data modification.","url":"https://insights.sbomify.com/CVE-2026-46342/"}