Skip to content

fix(deps): Next.js 15.5.29 and in-range security updates - #134

Merged
Z3rio merged 1 commit into
mainfrom
fix/next-15-5-security
Nov 24, 2026
Merged

Z3rio merged 1 commit into
mainfrom
fix/next-15-5-security

Conversation

@Z3rio

@Z3rio Z3rio commented Nov 24, 2026

Copy link
Copy Markdown
Member

Summary

The docs site ran Next.js 15.0.7, which has critical advisories ("Unauthenticated Remote Code Execution in Image Optimization", fixed in 15.5.24 and 15.5.28). This moves to 15.5.29, the newest 15.x, which Nextra 3 supports (next >=13). Dependabot's #132 goes to Next 16 instead, and that fails the build with Nextra 3.

 dependencies
-  next                              15.0.7
+  next                              15.5.29
 devDependencies
-  @next/eslint-plugin-next          ^15.0.3
+  @next/eslint-plugin-next          ^15.5.29
-  @typescript-eslint/eslint-plugin  ^8.15.0   (installed 8.36.0)
-  @typescript-eslint/parser         ^8.15.0   (installed 8.36.0)
+  @typescript-eslint/eslint-plugin  ^8.74.0   same version as typescript-eslint
+  @typescript-eslint/parser         ^8.74.0
+pnpm.overrides
+  @xmldom/xmldom                    ^0.9.12   (pinned 0.9.8 deep inside Nextra's maths rendering)
 eslint.config.mjs ignores
+  next-env.d.ts                     regenerated by Next 15.5 on every build, "should not be edited"
+  .claude/*                         local Claude Code worktrees (full repo copies)

The other vulnerable packages were refreshed in the lockfile within the ranges their parents already allow.

Evidence

pnpm audit, by severity:

critical high moderate low total
Before (main) 4 62 65 14 145
After 0 3 2 1 6

What's left, and why:

  • postcss (2 high, 2 moderate): Next.js 15.5.29 pins its own postcss@8.4.31. It only matters when processing untrusted CSS or source maps, and the docs only build their own.
  • zod (1 high): Nextra 3 pins zod@3; the fix is in zod 4, which needs Nextra 4.
  • katex (1 low): comes in through Mermaid diagrams.

Other checks:

  • Build: pnpm build passes. All pages prerender, including /radio/* (V3) and /radio/v2/*.
  • Lint: ESLint is clean, and Prettier passes (the pre-commit hook ran).
  • Vercel preview: built successfully. It sits behind Vercel login, so the checks below ran on the same production build served locally (next start).
  • Pages: /radio/description, installationguide, selfhosting, migrating and configurationguide, /radio/v2/description and installationguide, /garage/description and /chat/description all return 200. The pages render with sidebar and search, and the console has no errors.
  • Old links: /radio/v3/migrating, /radio/v3/installationguide#set-up-the-voice-server and /radio/v3/selfhosting#dispatch return 308 to the same page under /radio/.... /radio/v3 goes to /radio/installationguide, and /radio/v2 to /radio/v2/description. This matches the live site.

Merge Danger

Door: two-way

Revert to go back to 15.0.7.

Blast Radius: small

A minor-version upgrade of Next.js under Nextra 3, so rendering, search and the /radio/v3/* redirects in next.config.mjs are what could change. The Vercel preview checks those. Merging publishes the site.

Next.js 15.0.7 had critical advisories (remote code execution in image
optimization); 15.5.29 is the newest 15.x and Nextra 3 supports it.
Refresh vulnerable transitive packages within their allowed ranges,
override @xmldom/xmldom to the 0.9.12 patch release, and align the
typescript-eslint packages on 8.74.0.

ESLint now skips next-env.d.ts (regenerated by Next 15.5 on every build,
not to be edited) and local Claude Code worktrees under .claude/.
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Nov 24, 2026 6:56pm UTC

Request Review

@Z3rio
Z3rio merged commit 8cb6783 into main Nov 24, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 048bf33b Deployed Nov 24, 2026 by vercel[bot]
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