Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nuxt
  4. ›
  5. CVE-2026-45669

CVE-2026-45669: Nuxt: Reflected XSS in `navigateTo()` external redirect

May 19, 2026 (updated June 12, 2026)

navigateTo() with external: true generates a server-side HTML redirect body containing a <meta http-equiv="refresh"> tag. The destination URL is only sanitized by replacing " with %22, leaving <, >, &, and ' unencoded. An attacker who can influence the URL passed to navigateTo(url, { external: true }) can break out of the content="…" attribute and inject arbitrary HTML/JavaScript that executes under the application’s origin.

This is a different root cause from CVE-2024-34343 (GHSA-vf6r-87q4-2vjf), which addressed javascript: protocol bypass. The issue here is triggered by any valid URL containing >.

References

  • github.com/advisories/GHSA-fx6j-w5w5-h468
  • github.com/nuxt/nuxt/pull/35052
  • github.com/nuxt/nuxt/security/advisories/GHSA-fx6j-w5w5-h468
  • nvd.nist.gov/vuln/detail/CVE-2026-45669

Code Behaviors & Features

Detect and mitigate CVE-2026-45669 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.4.3 before 3.21.6, all versions starting from 4.0.0-alpha.1 before 4.4.6

Fixed versions

  • 3.21.6
  • 4.4.6

Solution

Upgrade to versions 3.21.6, 4.4.6 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-83: Improper Neutralization of Script in Attributes in a Web Page

Source file

npm/nuxt/CVE-2026-45669.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:13 +0000.