Skip to content

fix(deps): bump nuxt to 3.21.6#21567

Closed
chargome wants to merge 1 commit into
developfrom
fix/dependabot-alert-1765
Closed

fix(deps): bump nuxt to 3.21.6#21567
chargome wants to merge 1 commit into
developfrom
fix/dependabot-alert-1765

Conversation

@chargome

Copy link
Copy Markdown
Member

Summary

Bumps the nuxt devDependency in packages/nuxt from 3.17.7 to 3.21.6 — a minor bump that stays within the 3.x line.

Resolves three Dependabot alerts:

🤖 Generated with Claude Code

@chargome chargome requested a review from a team as a code owner June 16, 2026 09:22
@chargome chargome requested review from nicohrubec and s1gr1d and removed request for a team June 16, 2026 09:22
@chargome chargome self-assigned this Jun 16, 2026
Comment thread yarn.lock
@@ -16104,6 +16686,38 @@ esbuild@^0.25.0, esbuild@^0.25.3, esbuild@^0.25.6:
"@esbuild/win32-ia32" "0.25.12"
"@esbuild/win32-x64" "0.25.12"

esbuild@^0.27.0:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High severity vulnerability may affect your project—review required:
Line 16689 lists a dependency (esbuild) with a known High severity vulnerability.

ℹ️ Why this matters

Affected versions of esbuild are vulnerable to Download of Code Without Integrity Check / Untrusted Search Path. esbuild's Deno distribution module (lib/deno/mod.ts) contains an import.meta.main CLI entrypoint that calls install() directly when the module is run as a script (deno run https://deno.land/x/esbuild@vX/mod.js). This download path has no SHA-256 integrity verification: if NPM_CONFIG_REGISTRY resolves to an attacker-controlled registry, the fetched binary is executed immediately, yielding arbitrary code execution without any API call in user code.

References: GHSA

To resolve this comment:
Check if you invoke the esbuild Deno module directly as a CLI tool (e.g. deno run https://deno.land/x/esbuild@vX/mod.js) and the NPM_CONFIG_REGISTRY environment variable resolves the binary download to an untrusted registry.

  • If you're affected, upgrade this dependency to at least version 0.28.1 at yarn.lock.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

Comment thread yarn.lock
@@ -16072,7 +16654,7 @@ esbuild@^0.23.0:
"@esbuild/win32-ia32" "0.23.1"
"@esbuild/win32-x64" "0.23.1"

esbuild@^0.25.0, esbuild@^0.25.3, esbuild@^0.25.6:
esbuild@^0.25.0, esbuild@^0.25.3:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High severity vulnerability may affect your project—review required:
Line 16657 lists a dependency (esbuild) with a known High severity vulnerability.

ℹ️ Why this matters

Affected versions of esbuild are vulnerable to Download of Code Without Integrity Check / Untrusted Search Path. esbuild's Deno distribution module (lib/deno/mod.ts) contains an import.meta.main CLI entrypoint that calls install() directly when the module is run as a script (deno run https://deno.land/x/esbuild@vX/mod.js). This download path has no SHA-256 integrity verification: if NPM_CONFIG_REGISTRY resolves to an attacker-controlled registry, the fetched binary is executed immediately, yielding arbitrary code execution without any API call in user code.

References: GHSA

To resolve this comment:
Check if you invoke the esbuild Deno module directly as a CLI tool (e.g. deno run https://deno.land/x/esbuild@vX/mod.js) and the NPM_CONFIG_REGISTRY environment variable resolves the binary download to an untrusted registry.

  • If you're affected, upgrade this dependency to at least version 0.28.1 at yarn.lock.
  • If you're not affected, comment /fp we don't use this [condition]
💬 Ignore this finding

To ignore this, reply with:

  • /fp <comment> for false positive
  • /ar <comment> for acceptable risk
  • /other <comment> for all other reasons

You can view more details on this finding in the Semgrep AppSec Platform here.

@chargome chargome marked this pull request as draft June 16, 2026 09:37
@chargome

Copy link
Copy Markdown
Member Author

Closing: bumping nuxt to 3.21.6 (the only patched version) breaks the @sentry/nuxt build — nuxt 3.21 / nitro-v3 moved the nitro option and nitro:init/nitro:config hooks off the default NuxtOptions/NuxtHooks types, which requires a source migration that overlaps ongoing nitro-v3 work. nuxt is a dev/test-only devDependency here (end users provide their own nuxt), so the three alerts are being dismissed as tolerable_risk instead.

@chargome chargome closed this Jun 16, 2026
@chargome chargome deleted the fix/dependabot-alert-1765 branch June 16, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant