Skip to content

Bump react-template frontend deps to close 6 CVEs - #3208

Open
terryozaki-wq wants to merge 1 commit into
devfrom
frontend-cve-bumps
Open

terryozaki-wq wants to merge 1 commit into
devfrom
frontend-cve-bumps

Conversation

@terryozaki-wq

Copy link
Copy Markdown

Summary

Bumps 6 vulnerable dependency versions still resolved in project/platform__react-template's workspace:

Dependency Before After CVE(s)
@modelcontextprotocol/sdk 1.30.0 1.32.0 CVE-2026-104850, CVE-2026-111767, GHSA-rvq5-wwqv-78pq, GHSA-46jr-4wx8-v453, GHSA-6prh-2h8m-c8cw
proxy-addr 2.0.7 2.0.8 CVE-2026-90711
brace-expansion 5.0.9 5.0.12 CVE-2026-102276/102277/102278
source-map-js 1.2.1 1.2.2 CVE-2026-93749
undici 7.29.1 7.30.1 —
vite 8.2.2 8.3.5 — (6 Inspector2 findings on the prior version)

The first 5 are transitive, so they're pinned via pnpm.overrides — added to the workspace root package.json (project/.../assets/package.json), not the client/ member package, since pnpm explicitly warns that overrides placed in a workspace member have no effect. vite is a direct client/package.json devDependency bump.

Lockfile regenerated via a real pnpm install from the workspace root (not --no-frozen-lockfile, to avoid also dragging unrelated packages like react/typescript to their latest allowed versions as a side effect) — the resulting diff touches only these 6 packages plus their legitimate new transitive dependencies (nanoid, postcss, and rolldown as vite's own bundler dependency).

Also rebuilt and committed the portals/ production bundle, matching this repo's established convention for react-template dependency updates (e.g. #2976) — since that bundle is what's actually served, leaving it stale would mean the fix doesn't take effect in the shipped artifact.

Test plan

  • pnpm install from the workspace root — clean, no errors.
  • pnpm run build (tsc -b && vite build) — succeeds, ✓ built in 310ms.

🤖 Generated with Claude Code

Raises pnpm overrides (added to the workspace root package.json, where
pnpm.overrides must live for it to take effect - confirmed via pnpm's
own warning when it was mistakenly placed in client/package.json
instead) plus a direct vite bump in client/package.json:

- @modelcontextprotocol/sdk 1.30.0 -> 1.32.0 (CVE-2026-104850,
  CVE-2026-111767, GHSA-rvq5-wwqv-78pq, GHSA-46jr-4wx8-v453,
  GHSA-6prh-2h8m-c8cw)
- proxy-addr 2.0.7 -> 2.0.8 (CVE-2026-90711)
- brace-expansion 5.0.9 -> 5.0.12 (CVE-2026-102276/102277/102278)
- source-map-js 1.2.1 -> 1.2.2 (CVE-2026-93749)
- undici 7.29.1 -> 7.30.1
- vite 8.2.2 -> 8.3.5 (resolves within the bumped ^8.3.3 range)

Regenerated project/.../assets/pnpm-lock.yaml via a real `pnpm install`
from the workspace root (not --no-frozen-lockfile, to avoid also
dragging unrelated packages to their latest allowed versions) and
rebuilt + committed the portals/ production bundle, matching this
repo's established convention for react-template dependency updates
(e.g. #2976).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@terryozaki-wq
terryozaki-wq requested a review from a team as a code owner October 26, 2026 16:49
@snyk-io

snyk-io Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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