{"answers":{"affected":"4 open source packages ship an affected version, including nuxt. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-53722 in the wild and no public exploit code.","fix":"Upgrade nuxt to a fixed version for your release line: 3.21.7 or 4.4.7.","what":"CVE-2026-53722 is a medium-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-53722 and fix it if it is affected.\n\nWhat it is: CVE-2026-53722 is a medium-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-53722 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nuxt (npm): affected from 3.0.0; fixed in 3.21.7\n- nuxt (npm): affected from 3.0.0; fixed in 3.21.7\n- nuxt (npm): affected from 4.0.0; fixed in 4.4.7\n- nuxt (npm): affected from 4.0.0; fixed in 4.4.7\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-53722/ (Markdown: https://insights.sbomify.com/CVE-2026-53722/index.md)","id":"CVE-2026-53722","markdown":"https://insights.sbomify.com/CVE-2026-53722/index.md","name":"CVE-2026-53722","record":{"aliases":["CLSA-2026-1784077494","CLSA-2026-1784769506","CLSA-2026-1784769536","CLSA-2026-1784856026","CLSA-2026-1784856198","CLSA-2026-1792161452","CLSA-2026-1792161455","CLSA-2026-1792161484","CLSA-2026-1792161592","CLSA-2026-1792161597","CLSA-2026-1792161814","CLSA-2026-1792161819","CLSA-2026-1792161927","CLSA-2026-1792161932","GHSA-934w-87qh-qr26"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Nuxt web framework","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in the victim's browser by injecting malicious URLs into NuxtLink components, potentially leading to session hijacking.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuxt","vendor":"nuxt"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Nuxt is an open-source web development framework for Vue.js. Prior to versions 3.21.7 and 4.4.7, \u003cNuxtLink\u003e did not validate the URL scheme of values bound to its to or href props before rendering them into the href attribute of the underlying \u003ca\u003e element. When an application binds attacker-controlled input (a query parameter, a CMS field, a user-supplied profile URL) to \u003cNuxtLink :to\u003e or :href, the attacker can supply a javascript: or vbscript: URL that is reflected verbatim into the rendered markup. Clicking the link executes the supplied script in the origin of the Nuxt application, resulting in reflected DOM-based cross-site scripting. A data:text/html,... payload reflected through the same sink does not execute in the application's origin but enables a same-tab phishing surface anchored to a legitimate application link. The same value was exposed to consumers of the component's custom slot via the href and route.href props, so applications that re-bind those values to their own anchors were affected identically. This issue has been patched in versions 3.21.7 and 4.4.7.","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: Reflected XSS in `\u003cNuxtLink\u003e` via unsanitised `javascript:` or `data:` URL","id":"CVE-2026-53722","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"guzzlehttp/guzzle-services' XML Request Serialization Vulnerable to XML Injection via CDATA Terminator","id":"CVE-2026-53723"},"packages":[{"ecosystem":"npm","fixed":["3.21.7"],"introduced":["3.0.0"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-934w-87qh-qr26"},{"ecosystem":"npm","fixed":["3.21.7"],"introduced":["3.0.0"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-934w-87qh-qr26"},{"ecosystem":"npm","fixed":["4.4.7"],"introduced":["4.0.0"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-934w-87qh-qr26"},{"ecosystem":"npm","fixed":["4.4.7"],"introduced":["4.0.0"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-934w-87qh-qr26"}],"prev":{"headline":"Nuxt: Route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher","id":"CVE-2026-53721"},"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 execute arbitrary scripts in the victim's browser by injecting malicious URLs into NuxtLink components, potentially leading to session hijacking.","url":"https://insights.sbomify.com/CVE-2026-53722/"}