Vulnerability · Published Jun 22, 2026 · Assigned by VulnCheck
CVE-2026-56698Nuxt - Cross-Site Scripting via navigateTo open Option
Medium 6.1
In plain English
A medium-severity cross-site scripting in Nuxt from Nuxt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nuxt | 4.4.7 | GHSA-c9cv-mq2m-ppp3 |
| npm | nuxt | 3.21.7 | GHSA-c9cv-mq2m-ppp3 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- GitHub Security Advisory (GHSA-c9cv-mq2m-ppp3) vendor-advisory
- https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032 patch
- https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d patch
- VulnCheck Advisory: Nuxt - Cross-Site Scripting via navigateTo open Option third-party-advisory