# CVE-2026-53722: Nuxt: Reflected XSS in `<NuxtLink>` via unsanitised `javascript:` or `data:` URL

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-06-12T13:44:14.592Z
- Modified: 2026-08-14T19:00:07.654Z
- Also known as: GHSA-934w-87qh-qr26
- Weaknesses: CWE-79, CWE-83
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nuxt nuxt: < 3.21.7; >= 4.0.0, < 4.4.7; before 3.21.7; from 4.0.0 before 4.4.7
- nuxt (npm): from 4.0.0 before 4.4.7; from 3.0.0 before 3.21.7

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/nuxt/nuxt/security/advisories/GHSA-934w-87qh-qr26> (patch, vendor-advisory, web)
- <https://github.com/nuxt/nuxt/commit/0103ce06fbbbdfa079a7f020ef8ce00121eac4a3> (patch, web)
- <https://github.com/nuxt/nuxt/commit/53284043dc21210a25d629d1cec67d3ae557ffd0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53722> (advisory)
- <https://github.com/nuxt/nuxt> (package)

## Sources

- CVE List: [CVE-2026-53722](https://www.cve.org/CVERecord?id=CVE-2026-53722), CVE Terms of Use, modified 2026-06-12
- GitHub Advisory Database: [GHSA-934w-87qh-qr26](https://github.com/advisories/GHSA-934w-87qh-qr26), CC-BY-4.0, modified 2026-08-14
- NVD: [CVE-2026-53722](https://nvd.nist.gov/vuln/detail/CVE-2026-53722), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-53722 · Whole record: https://cve.day/CVE-2026-53722.json · Rebuilt by cve.day 2026-11-25T22:59:24.518Z
