Skip to content

chore(deps): security bumps (react-server-dom-webpack, react, next, TanStack Start, esbuild) - #832

Merged
guitavano merged 1 commit into
mainfrom
chore/deps-security-bumps
Nov 17, 2026
Merged

guitavano merged 1 commit into
mainfrom
chore/deps-security-bumps

Conversation

@guitavano

@guitavano guitavano commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes the open Dependabot alerts in one PR, with the lockfile. The Dependabot PRs (#811, #828, #747) only touch package.json, so they all fail bun install --frozen-lockfile in CI.

Package From To Alerts
react-server-dom-webpack (tanstack-rsc-smoke) 19.2.7 19.2.9 #19, critical: RSC RCE, GHSA-xqc2-xf4c-x3h3
react / react-dom (all pinned workspaces) 19.2.7 19.2.9 peer floor of the above
next (nextjs, compat-v7, nextjs-binding-smoke) 16.3.8 16.4.6 #10–12, #14, #15, #17, #18, #20–22
@tanstack/react-start (tanstack, compat-v7, smokes) 1.168.58 1.168.61 #2–4, #7, #9
@tanstack/react-router 1.170.39 1.170.42 the version react-start 1.168.61 pins, so it stays a single copy
esbuild (blocks, tanstack, compat-v7) ^0.27.3 ^0.28.2 #5, #6, #8 (low)

bun.lock was regenerated with bun 1.3.5 (the packageManager). React dedupes to a single 19.2.9 at the root, with no nested copies. Vite still has its own transitive [email protected] (its own range); that is outside our manifests.

Supersedes #811, #828 and #747.

Verified locally (bun 1.3.5, node 24)

  • bun install --frozen-lockfile ✅
  • bun run typecheck ✅ · bun run lint ✅
  • bun x vitest run: 3388 passed, 0 failed ✅ (includes tests/release.test.ts)
  • examples/tanstack-worker-smoke: build + smoke ✅
  • examples/nextjs-binding-smoke: build + smoke ✅
  • examples/tanstack-rsc-smoke: build + typecheck ✅

🤖 Generated with Claude Code


Summary by cubic

Bumps several dependencies to clear open Dependabot security alerts, including a critical RCE in react-server-dom-webpack (GHSA-xqc2-xf4c-x3h3). The lockfile was regenerated so bun install --frozen-lockfile passes — React dedupes to a single 19.2.9 copy.

Dependencies

  • react, react-dom, and react-server-dom-webpack 19.2.7 → 19.2.9
  • next 16.3.8 → 16.4.6
  • @tanstack/react-start 1.168.58 → 1.168.61, with @tanstack/react-router 1.170.42
  • esbuild ^0.27.3 → ^0.28.2; Vite's own transitive [email protected] is untouched
  • Typecheck, lint, the full test suite (3388 passed), and the Next.js and TanStack smoke builds all pass

Written for commit 123acc8. Summary will update on new commits.

View guided diff Turn on auto-fix

…rt and esbuild for security alerts

- react-server-dom-webpack 19.2.7 -> 19.2.9 (GHSA-xqc2-xf4c-x3h3, RSC RCE),
  with react/react-dom 19.2.9 (its peer floor)
- next 16.3.8 -> 16.4.6
- @tanstack/react-start 1.168.58 -> 1.168.61 (+ @tanstack/react-router
  1.170.42, the version it pins)
- esbuild ^0.27.3 -> ^0.28.2

bun.lock regenerated with bun 1.3.5 (the repo's packageManager) so
`bun install --frozen-lockfile` passes; React dedupes to one 19.2.9 copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@guitavano
guitavano requested a review from a team November 17, 2026 12:46
@guitavano
guitavano merged commit 79f109e into main Nov 17, 2026
5 checks passed
guitavano added a commit that referenced this pull request Nov 17, 2026
…dvisories [7.x] (#833)

The 7.x counterpart of #832. Dependabot only scans `main`, so 7.x never
got these alerts.

Checked 7.x's `bun.lock` against the advisories open on main:

| Package | 7.x had | Status | Action |
|---|---|---|---|
| `next` | 15.5.20 | **vulnerable**: GHSA-2464-fhr4-w9xw (critical, RCE
in image optimization) and GHSA-p3m5-59mp-jv5r (high, Server Actions
DoS), both `<= 15.5.27` | `^15.4.0` → `^15.5.28` (resolves 15.5.29) in
`packages/nextjs` + `examples/nextjs-smoke` |
| `esbuild` | 0.27.3 | vulnerable: GHSA-g7r4-m6w7-qqqr (low, dev server)
| `^0.27.3` → `^0.28.2` in `packages/blocks` |
| `@tanstack/react-start` | 1.168.60 | already patched
(GHSA-qx66-fv34-fjm8 fixed in 1.168.60; `start-server-core` 1.169.39) |
none |
| `react-server-dom-*` | — | not in the 7.x tree (GHSA-xqc2-xf4c-x3h3
doesn't apply) | none |

`bun.lock` was regenerated with bun 1.3.5, and only `next`/`@next/*` and
`esbuild` change. Vite keeps its own transitive `[email protected]`.

### Verification
I ran the gates on a clean worktree of this branch and on a clean
worktree of `origin/7.x`, then diffed the results:
- `bun install --frozen-lockfile` ✅
- `build` / `typecheck`: **identical** to 7.x. Both fail on the same
pre-existing `blocks-cli` test-fixture type errors
(`TailwindConfigExtract` missing `animations`/`keyframes`).
- `test`: the same pre-existing failures as 7.x (nextjs
`draftShell.test.ts` ×2, tanstack `workerEntry*.test.ts` ×3), and no new
ones.
- `examples/nextjs-smoke` `next build`: the same pre-existing failure on
7.x with 15.5.20 and here with 15.5.29 (a missing `"use client"`).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Bumps `next` to ^15.5.28 (resolves 15.5.29) and `esbuild` to ^0.28.2 on
the 7.x branch to fix security advisories affecting the current
versions.

- `next` 15.5.29 fixes GHSA-2464-fhr4-w9xw (critical, RCE in image
optimization) and GHSA-p3m5-59mp-jv5r (high, Server Actions DoS).
- `esbuild` 0.28.2 fixes GHSA-g7r4-m6w7-qqqr (low, dev server file
read).
- `bun.lock` regenerated; Vite keeps its own transitive
`[email protected]`.
- Build, typecheck, and test results match 7.x exactly; no new failures
introduced.

<sup>Written for commit b654a15.
Summary will update on new commits.</sup>

<a href="https://cubic.dev/pr/decocms/blocks/pull/833?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/decocms/blocks/833?returnTo=https%3A%2F%2Fgithub.com%2Fdecocms%2Fblocks%2Fpull%2F833&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->

Co-authored-by: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 8.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants