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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-79, CWE-83
- **Aliases:** GHSA-934w-87qh-qr26
- **Published:** 2026-06-12T13:44:14.592Z
- **Modified:** 2026-08-14T19:00:07.654Z

## Who should check

- Projects that depend on npm package nuxt (\>= 4.0.0, \< 4.4.7)
- Anyone running nuxt \< 3.21.7; \>= 4.0.0, \< 4.4.7

## 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.

## Affected and fixed versions

- npm `nuxt`: affected \>= 4.0.0, \< 4.4.7; fixed 4.4.7, 3.21.7 (osv)
- nuxt: \< 3.21.7; \>= 4.0.0, \< 4.4.7 (cvelist)

## Mitigation

- Upgrade nuxt to one of 4.4.7, 3.21.7 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53722. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53722.md
Affected: nuxt >= 4.0.0, < 4.4.7
Fixed in: 4.4.7, 3.21.7

Steps:
1. Search this machine and project for nuxt (npm), nuxt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53722 being exploited?

There is no confirmed exploitation: CVE-2026-53722 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53722?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-53722?

nuxt \>= 4.0.0, \< 4.4.7.

### Is there a fix for CVE-2026-53722?

Yes. Fixed in 4.4.7, 3.21.7. Upgrade nuxt to one of 4.4.7, 3.21.7 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-53722?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53722>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-934w-87qh-qr26> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-53722> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53722>
