npm package

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

nuxt 2.15.7 has 2 known vulnerabilities; 3.21.7 fixes all of them. 3.21.7 has 6 known vulnerabilities of its own, so upgrade to 4.6.2, which has none. Nuxt 2 reached end of life on Jun 30, 2024 and gets no more security fixes. Move to Nuxt 4. The maintainers deprecated this release.

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
2
None rated high or critical
Released
Jun 14, 2021
Latest is 4.6.2
Downloads last week
2.6K
Under 1% of nuxt downloads
Nuxt 2 support
End of life
Since Jun 30, 2024
Licence
MIT
OpenSSF Scorecard
6.9/10
nuxt/nuxt.js (opens in a new tab)
Pulls in
1387 packages
Resolved by deps.dev
Status
Deprecated release

What to upgrade to

4.6.2 is the closest release with no known vulnerabilities that we checked.

  • 2.18.1

    Newest 2.x release. Released Jun 28, 2024.

    2 known vulnerabilities, worst rated warningDeprecated
  • 3.21.7

    Fixes all 2 known vulnerabilities. Released Jun 2, 2026.

    6 known vulnerabilities, worst rated warning
  • 4.6.2Upgrade to this

    Latest release. Released Oct 16, 2026.

    No known vulnerabilities

4.6.2 came out on Oct 16, 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 2.15.7

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. 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.

  2. 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.

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 2.15.7, 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.