Skip to content
Heist/ feed
Back to feed
Medium

Nuxt: Reflected XSS in `navigateTo()` external redirect

Type: advisorySources: OSV

Nuxt is an open-source web development framework for Vue.js. From versions 3.4.3 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, navigateTo() with external: true generates a server-side HTML redirect body containing a 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 issue has been patched in versions 3.21.6 and 4.4.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-45669
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 20:18 UTC · Revision 1

Source evidence

Nuxt: Reflected XSS in `navigateTo()` external redirect

core-osv · Original source

Published 12 Jun 2026, 12:51 UTC

Nuxt is an open-source web development framework for Vue.js. From versions 3.4.3 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, navigateTo() with external: true generates a server-side HTML redirect body containing a 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 issue has been patched in versions 3.21.6 and 4.4.6.

osv:CVE-2026-45669
Complete source record
{
  "id": "413153d035a9b6399816b674f3ed242b833483f350db5d904f68d19fa1da5a39",
  "url": "https://osv.dev/vulnerability/CVE-2026-45669",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nuxt: Reflected XSS in `navigateTo()` external redirect",
    "summary": "Nuxt is an open-source web development framework for Vue.js. From versions 3.4.3 to before 3.21.6 and 4.0.0-alpha.1 to before 4.4.6, navigateTo() with external: true generates a server-side HTML redirect body containing a 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 issue has been patched in versions 3.21.6 and 4.4.6.",
    "evidence": "osv:CVE-2026-45669",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-45669",
      "aliases": [
        "CVE-2026-45669",
        "GHSA-fx6j-w5w5-h468"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nuxt/nuxt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1464294d6abe13b54fdb8d204732345551c8e647"
                },
                {
                  "fixed": "1a8fff351be63bdc639a8b0a2f5a9e74dad240c9"
                },
                {
                  "introduced": "8aacdde48e8388c8bb11b9a5c2f59935341bfcfd"
                },
                {
                  "fixed": "30a45f7bb206a8373b9183e60eb344891a6f5bb8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4.3"
                      },
                      {
                        "fixed": "3.21.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nuxt:nuxt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.21.5",
            "v4.4.5",
            "v3.21.4",
            "v4.4.4",
            "v3.21.3",
            "v4.4.3",
            "v4.4.2",
            "v3.21.2",
            "v4.4.1",
            "v4.4.0",
            "v4.3.1",
            "v3.21.1",
            "v3.21.0",
            "v4.3.0",
            "v3.20.2",
            "v4.2.2",
            "v3.20.1",
            "v4.2.1",
            "v3.20.0",
            "v4.2.0",
            "v3.19.3",
            "v4.1.3",
            "v3.19.2",
            "v4.1.2",
            "v3.19.1",
            "v4.1.1",
            "v3.19.0",
            "v4.1.0",
            "v3.18.1",
            "v4.0.3",
            "v3.18.0",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.17.7",
            "v3.17.6",
            "v3.17.5",
            "v3.17.4",
            "v3.17.3",
            "v3.17.2",
            "v3.17.1",
            "v3.17.0",
            "v3.16.2",
            "v3.16.1",
            "v3.16.0",
            "v3.15.4",
            "v3.15.3",
            "v3.15.2",
            "v3.15.1",
            "v3.15.0",
            "v3.14.1592",
            "v3.14.159",
            "v3.14.0",
            "v3.13.2",
            "v3.13.1",
            "v3.13.0",
            "v3.12.4",
            "v3.12.3",
            "v3.12.2",
            "v3.12.1",
            "v3.12.0",
            "v3.11.2",
            "v3.11.1",
            "v3.11.0",
            "v3.10.3",
            "v3.10.2",
            "v3.10.1",
            "v3.10.0",
            "v3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0",
            "v3.8.2",
            "v3.8.1",
            "v3.8.0",
            "v3.7.4",
            "v3.7.3",
            "v3.7.2",
            "v3.7.1",
            "v3.7.0",
            "v3.6.5",
            "v3.6.4",
            "v3.6.3",
            "v3.6.2",
            "v3.6.1",
            "v3.6.0",
            "v3.5.3",
            "v3.5.2",
            "v3.5.1",
            "v3.5.0",
            "v3.4.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45669.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.136808141Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45669.json",
        "https://github.com/nuxt/nuxt/security/advisories/GHSA-fx6j-w5w5-h468",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45669",
        "https://github.com/nuxt/nuxt/pull/35052"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-83"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45669.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45669",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498927,
  "published_at": "2026-06-12T12:51:42.64+00:00"
}