CVE-2026-56698 Nuxt - Cross-Site Scripting via navigateTo open Option

Medium 5.3 Published Updated

Attackers can execute arbitrary scripts in the application's origin by supplying javascript: URLs to the navigateTo open option in Nuxt.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-56698?

CVE-2026-56698 is a medium-severity cross-site scripting vulnerability in Nuxt, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-56698?

It affects 1 product.

Products include Nuxt Nuxt.

How do I fix CVE-2026-56698?

No fix has been published for CVE-2026-56698 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-56698 being exploited?

There is no known exploitation of CVE-2026-56698 in the wild and no public exploit code.

Sources

Also known as GHSA-h345-75vh-jjwf.

Is CVE-2026-56698 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free