CVE-2026-114130

Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabled

Published Oct 21, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
Description
Nuxt is an open-source web development framework for Vue.js. Prior to 4.6.0, an incomplete fix for CVE-2026-53722 allows an application with pages disabled to render a script-capable URL through NuxtLink when attacker-controlled input bound to to is prefixed with an ASCII C0 control character. The no-pages router classifies the value as an internal route before the earlier protocol check and passes it to the rendered anchor href; browsers remove the leading control character and interpret the remaining javascript: URL. The default anchor and NuxtLink custom output are affected, the unsafe href is present in server-rendered HTML, and a victim must click the link for script to execute in the application's origin. This issue is fixed in version 4.6.0.

Analysis

AI-generated

Technical impact

Nuxt, an open‑source framework for Vue.js, includes a flaw that allows an attacker to craft a JavaScript URL beginning with an ASCII C0 control character. When the pages feature is disabled, the no‑pages router treats the value as an internal path before checking the protocol, and passes it to the rendered <a> href. Browsers strip the leading control character and execute the remaining javascript: payload when the user clicks the link, resulting in client‑side code running in the application's origin.

Affected Systems

Nuxt (nuxt:nuxt) versions prior to 4.6.0 are vulnerable when the pages option is disabled. Both the default <a> tag output and the custom <NuxtLink> component can render the unsafe href in server‑generated HTML.

Risk and Exploitability

The CVSS score of 2.3 indicates limited severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires user interaction with the malicious link, characteristic of a local XSS scenario. The code runs in the application's origin, so it can steal data or hijack sessions, but it cannot achieve remote code execution or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Nuxt 4.6.0 or later to apply the fix.
  • Validate or sanitize all href attributes bound to <NuxtLink> by removing leading control characters and rejecting javascript: schemes before rendering.
  • If upgrading is delayed, avoid using <NuxtLink> with user‑controlled href values when pages is disabled; instead use standard <a> tags with explicit server‑side validation.

Generated by OpenCVE AI on October 22, 2026 at 03:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jjm6-p2m9-9w4x Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabled
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nuxt
Nuxt nuxt
Vendors & Products Nuxt
Nuxt nuxt
Type Values Removed Values Added
Description Nuxt is an open-source web development framework for Vue.js. Prior to 4.6.0, an incomplete fix for CVE-2026-53722 allows an application with pages disabled to render a script-capable URL through NuxtLink when attacker-controlled input bound to to is prefixed with an ASCII C0 control character. The no-pages router classifies the value as an internal route before the earlier protocol check and passes it to the rendered anchor href; browsers remove the leading control character and interpret the remaining javascript: URL. The default anchor and NuxtLink custom output are affected, the unsafe href is present in server-rendered HTML, and a victim must click the link for script to execute in the application's origin. This issue is fixed in version 4.6.0.
Title Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabled
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 1:29 AM
Reserved
Oct 20, 2026, 9:53 PM
Status
Awaiting Analysis
Published
Oct 21, 2026, 6:17 PM
Modified
Oct 28, 2026, 2:17 AM