{"id":"CVE-2026-53722","published":"2026-06-12T13:44:14Z","modified":"2026-06-12T15:05:46Z","title":"Nuxt: Reflected XSS in `<NuxtLink>` via unsanitised `javascript:` or `data:` URL","vendor":"nuxt","product":"nuxt","tier":"tail","description":{"text":"Nuxt is an open-source web development framework for Vue.js. Prior to versions 3.21.7 and 4.4.7, <NuxtLink> 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 <a> element. When an application binds attacker-controlled input (a query parameter, a CMS field, a user-supplied profile URL) to <NuxtLink :to> 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00293,"percentile":0.22408,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"}],"references":[{"url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-934w-87qh-qr26","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nuxt/nuxt/commit/0103ce06fbbbdfa079a7f020ef8ce00121eac4a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/nuxt/nuxt/commit/53284043dc21210a25d629d1cec67d3ae557ffd0","tags":["x_refsource_MISC"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.48},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"nuxt","affectedVersions":[{"vendor":"nuxt","product":"nuxt","versions":["< 3.21.7",">= 4.0.0, < 4.4.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-12T15:05:40.713482Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nuxt","vulnerableRanges":[">=4.0.0, <4.4.7",">=3.0.0, <3.21.7"],"patched":["4.4.7","3.21.7"],"from":["GHSA-934w-87qh-qr26"],"provenance":"source"}],"summary":{"text":"The flaw is a reflected cross-site scripting issue in the <NuxtLink> component of the Nuxt web framework, where values bound to its to or href props are rendered into an anchor's href attribute without validating the URL scheme. An attacker who can supply input that an application binds to these props, such as a query parameter, CMS field, or user-supplied URL, can get a javascript: or vbscript: URL reflected into the page, where clicking the link runs script in the application's origin, while a data:text/html payload instead enables a phishing link anchored to a legitimate application link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:33Z"},"euvd":{"id":"EUVD-2026-36428","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nuxt-cve-2026-53722","children":[{"from":"CVE-2026-53722","to":"CVE-2026-114130","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Prior to 4.6.0, an incomplete fix for CVE-2026-53722 allows an application with pages disabled to render a script-capable URL through NuxtLink when attacker-controlled input bound to to is prefixed with an ASCII C0 control character.","from":"CVE.org","in":"CVE-2026-114130"},{"kind":"same-code","provenance":"machine","files":["packages/nuxt/src/app/components/nuxt-link.ts"],"commits":["https://github.com/nuxt/nuxt/commit/355ed9565127ff9b1453deb7160059ed55b3cb85","https://github.com/nuxt/nuxt/commit/df46569d5d3c7a7799de54c328634168fbae70bb","https://github.com/nuxt/nuxt/commit/0103ce06fbbbdfa079a7f020ef8ce00121eac4a3","https://github.com/nuxt/nuxt/commit/53284043dc21210a25d629d1cec67d3ae557ffd0"],"basis":"shared function","functions":["defineNuxtLink"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]}]}}