npm package

nuxt 3.1.2 vulnerabilities, and the version that fixes all of them

nuxt 3.1.2 has 8 known vulnerabilities (3 rated high or critical); 3.21.10 fixes all of them. Nuxt 3 reached end of life on Jul 31, 2026 and gets no more security fixes. Move to Nuxt 4.

npm (opens in a new tab) describes it as “Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.”

Known vulnerabilities
8
3 rated high or critical
Released
Feb 3, 2023
Latest is 4.6.2
Downloads last week
159
Under 1% of nuxt downloads
Nuxt 3 support
End of life
Since Jul 31, 2026
Licence
MIT
OpenSSF Scorecard
7/10
nuxt/nuxt (opens in a new tab)
Pulls in
740 packages
Resolved by deps.dev

What to upgrade to

3.21.10 is the closest release with no known vulnerabilities.

  • 3.21.10Upgrade to this

    Fixes all 8 known vulnerabilities. Released Jul 27, 2026.

    No known vulnerabilities
  • 3.21.11

    Newest 3.x release. Released Aug 5, 2026.

    No known vulnerabilities
  • 4.6.2

    Latest release. Released Oct 16, 2026.

    No known vulnerabilities

3.21.10 came out on Jul 27, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for nuxt 3.1.2

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2026-71321 on OSV.dev (opens in a new tab)GHSA-9pgf-384g-p7mvEPSS: top 47%

    Nuxt: Unauthenticated CPU exhaustion parsing and hashing the Nuxt island endpoint body before hash validation

    Fixed in 3.21.10. Published Aug 5, 2026.

  2. CriticalCVE-2026-71314 on OSV.dev (opens in a new tab)GHSA-hxcr-hm88-mpq6EPSS: top 50%

    Nuxt: Unauthenticated out-of-memory crash via unbounded v-for expansion in island rendering

    Fixed in 3.21.10. Published Aug 5, 2026.

  3. WarningCVE-2024-34343 on OSV.dev (opens in a new tab)GHSA-vf6r-87q4-2vjfEPSS: top 64%

    nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSR

    Fixed in 3.12.4. Published Aug 5, 2024.

  4. CriticalCVE-2025-27415 on OSV.dev (opens in a new tab)GHSA-jvhm-gjrh-3h93EPSS: top 69%

    Nuxt allows DOS via cache poisoning with payload rendering response

    Fixed in 3.16.0. Published Mar 19, 2025.

  5. LowCVE-2026-56317 on OSV.dev (opens in a new tab)GHSA-m3q2-p4fw-w38mEPSS: top 74%

    Cross-site scripting via <NoScript> slot content in Nuxt's head components

    Fixed in 3.21.7. Published Jun 16, 2026.

  6. WarningCVE-2026-53722 on OSV.dev (opens in a new tab)GHSA-934w-87qh-qr26EPSS: top 76%

    Nuxt: Reflected XSS in `<NuxtLink>` via unsanitised `javascript:` or `data:` URL

    Fixed in 3.21.7. Published Jun 16, 2026.

  7. WarningCVE-2026-71318 on OSV.dev (opens in a new tab)GHSA-48hr-524c-v5w3EPSS: top 78%

    Nuxt: Unauthorized Component Instantiation via Server Island Props

    Fixed in 3.21.10. Published Aug 5, 2026.

  8. LowCVE-2026-46342 on OSV.dev (opens in a new tab)GHSA-g8wj-3cr3-6w7vEPSS: top 98%

    Nuxt: `__nuxt_island` endpoint does not bind responses to request props, enabling shared-cache poisoning

    Fixed in 3.21.6. Published May 19, 2026.

Who is still on a vulnerable nuxt

43% of last week’s 2.3M nuxt downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is nuxt the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly nuxt 3.1.2, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm, support dates from endoflife.date. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV, FIRST EPSS and endoflife.date.