CVE-2026-53722
MEDIUM 5.1CVSS 4.0Nuxt: Reflected XSS in `<NuxtLink>` via unsanitised `javascript:` or `data:` URL
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.
- Published
- 12 Jun 2026
- Last modified
- 14 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-83
- Also known as
- GHSA-934w-87qh-qr26
- Sources
- NVDJSONOSV GHSA-934w-87qh-qr26JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/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 | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nuxt | nuxtcpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:* |
< 3.21.7 | 3.21.7 |
| NVD | nuxt | nuxtcpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.4.7 | 4.4.7 |
| OSV | npm | nuxt | >= 4.0.0, < 4.4.7 | 4.4.7 |
| OSV | npm | nuxt | >= 3.0.0, < 3.21.7 | 3.21.7 |
References
- https://github.com/nuxt/nuxt/commit/0103ce06fbbbdfa079a7f020ef8ce00121eac4a3 · Patch, WEB
- https://github.com/nuxt/nuxt/commit/53284043dc21210a25d629d1cec67d3ae557ffd0 · Patch, WEB
- https://github.com/nuxt/nuxt/security/advisories/GHSA-934w-87qh-qr26 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-53722 · ADVISORY
- https://github.com/nuxt/nuxt · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Jun 2026)