{"schema":"threatline.record/2","record":{"id":"CVE-2026-114130","aliases":["GHSA-jjm6-p2m9-9w4x"],"summary":"Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabled","details":"## Impact\n\nAn application that renders `<NuxtLink :to=\"...\">` with a value it does not control can be made to render an anchor whose `href` executes script in the application's origin when clicked.\n\nThis is an incomplete fix for [GHSA-934w-87qh-qr26](https://github.com/nuxt/nuxt/security/advisories/GHSA-934w-87qh-qr26) (CVE-2026-53722). It only affects applications running without a `pages/` directory, where `pages` resolves to `false` and Nuxt registers its own router in place of vue-router. Applications using vue-router are not affected.\n\nPrefixing `javascript:` with an ASCII C0 control character, for example `%01`, meant the value was not recognised as having a protocol. It was classified as an internal route and so never reached the protocol check added in GHSA-934w-87qh-qr26, and the router used for `pages: false` passed it through to the rendered `href` unchanged. Browsers strip the leading control character and run the result as a script URL.\n\nBoth `<NuxtLink custom>` and the default anchor are affected, and the `href` is present in the server-rendered HTML.\n\n## Mitigating factors\n\n- The application must have `pages` disabled (no `pages/` directory, or `pages: false`).\n- The application must bind untrusted input to `:to`.\n- A victim must click the rendered link.\n\n## Affected versions\n\n`nuxt` `<4.6.0`, including all Nuxt 3 releases. Versions before `4.4.7` and `3.21.7` are also affected by GHSA-934w-87qh-qr26.\n\n## Patches\n\nFixed in `nuxt@4.6.0`. Nuxt 3 reached end of life on 31 July 2026 and will not receive a fix.\n\nAnchor `href` values are now checked for script-capable protocols wherever they are rendered, including the router used when `pages` is disabled. Protocol detection also moved to the platform `URL` parser, so a URL is classified the same way the browser will read it.\n\n## Workarounds\n\nUpgrade to `nuxt@4.6.0` or later. If you cannot upgrade, including on Nuxt 3, validate values before binding them to `:to`, for example by rejecting anything that is not a path beginning with a single `/`.","categories":["Frameworks"],"product":"nuxt","vendor":"nuxt","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jjm6-p2m9-9w4x","source_modified_at":"2026-10-22T16:51:39Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"nuxt"},"range":"< 4.6.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-114130","source_modified_at":"2026-10-21T17:37:58.400Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"nuxt","vendor":"nuxt","versions":[{"status":"affected","version":"< 4.6.0"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jjm6-p2m9-9w4x","source_modified_at":"2026-10-22T17:00:04.471901983Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"nuxt","ecosystem":"npm","purl":"pkg:npm/nuxt"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.6.0"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-jjm6-p2m9-9w4x","source_modified_at":"2026-10-22T16:51:39Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"nuxt"},"version":"4.6.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-jjm6-p2m9-9w4x","source_modified_at":"2026-10-22T17:00:04.471901983Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"nuxt","ecosystem":"npm","purl":"pkg:npm/nuxt"},"version":"4.6.0"}],"cvss":2.3,"severity":"Low","kev":{"listed":false},"epss":{"probability":0.00329,"percentile":0.2479,"score_date":"2026-10-23"},"published_at":"2026-10-21T17:37:58.400Z","modified_at":"2026-10-22T17:00:04.471901983Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-jjm6-p2m9-9w4x","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T16:51:39Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114130","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-21T17:37:58.400Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-jjm6-p2m9-9w4x","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-22T17:00:04.471901983Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114130","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-jjm6-p2m9-9w4x","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114130","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/nuxt/nuxt/pull/36459","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/nuxt/nuxt/commit/355ed9565127ff9b1453deb7160059ed55b3cb85","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/nuxt/nuxt/commit/df46569d5d3c7a7799de54c328634168fbae70bb","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/nuxt/nuxt/releases/tag/v4.6.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-jjm6-p2m9-9w4x","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-22T17:00:04.471901983Z","content_hash":"e41d38c3e9e6a8dda62d0438be3a8f7297364fdba97e408c04897498dd7b64b4"}}
