Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(site): move next 16.3.3 to 16.3.6 for GHSA-vcvr-r3jv-pc5j (critical) - #11361

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11356-next-ghsa-relock
Oct 1, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11356-next-ghsa-relock

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11356

Summary

next 16.3.3 carries GHSA-vcvr-r3jv-pc5j (critical, CVSS 9.5, "Remote Code Execution in next/og ImageResponse"). The fixed release is 16.3.6. On main at 2124d04111, apps/site/package.json pins "next": "16.3.3" and pnpm-lock.yaml resolves next@16.3.3. The surface is reachable: apps/site/app/og/docs/[...slug]/route.tsx imports ImageResponse from 'next/og', and the production build prerenders 184 PNGs through it.

This PR moves to the patched release. It supersedes Dependabot's #11235 (manifest only, so every install step failed with ERR_PNPM_OUTDATED_LOCKFILE) and #11236 (a full re-resolution that gave nanoid and vite each an extra physical copy). It adds no OSV or audit exemption, and the lockfile is not hand-edited.

Change

  • apps/site/package.json: the next line only, 16.3.3 to 16.3.6, still an exact pin. No other objectui manifest declares next: git grep '"next"' over every package.json at 2124d04111 has exactly one hit, this line.
  • pnpm-lock.yaml: regenerated with pnpm install --lockfile-only under pnpm 10.31.0 (the packageManager version), starting from main's lockfile unchanged.

Lockfile

55 lines changed on each side.

  • packages: has 1767 entries before and after. 10 are removed and 10 added: next, @next/env and the eight @next/swc-* binaries, each 16.3.3 to 16.3.6.
  • snapshots: has 1773 entries before and after. 14 are removed and 14 added: the same 10, plus the four snapshot keys that embed the next version as a peer. Those are fumadocs-core, fumadocs-mdx, fumadocs-ui, and better-auth, whose optional next peer resolves to the workspace copy. None of the four changes version.
  • Two importers change: apps/site, and packages/auth through the better-auth snapshot key only (its specifier and version are unchanged).
  • The string 16.3.3 no longer appears anywhere in the lockfile.

Verification

Every row below was measured on 76e9ee3, this branch's head. main was still at 2124d04111 when this PR was opened, so there was nothing to merge.

The runs used Node 22.23.3. This container ships Node 22.22.0, and the repository's engine-strict=true refuses it, because jsdom@30.0.1 requires ^22.22.2. CI is unaffected: its setup-node asks for 22.x, which takes the newest 22 release. See Acceptance notes.

Check Result
node scripts/check-lockfile-integrity.mjs --base-ref origin/main (the gate #11236 failed) exit 0, VERDICT clean: 1773 resolutions on both sides, no backward move, no new copy. --self-test exit 0, 29 cases
pnpm install --frozen-lockfile exit 0, and the installed apps/site/node_modules/next reads 16.3.6
Control leg: main's lockfile with this branch's manifest, pnpm install --frozen-lockfile exit 1, ERR_PNPM_OUTDATED_LOCKFILE (the #11235 failure). Restored afterwards: git diff HEAD empty, blob hash equal to HEAD's
node scripts/check-lockfile-dedupe.mjs (bare, the hard verdict) exit 0, VERDICT deduped
pnpm turbo run build --filter='@object-ui/site' (the Build Docs command), under the shared verify lock, --concurrency=2 exit 0, 30/30 tasks, Next.js 16.3.6 (Turbopack). The site task was a cache miss, so it really ran: 559 static pages, including 184 /og/docs/**/image.png prerendered through ImageResponse, each a real PNG
pnpm --filter @object-ui/site type-check (fumadocs-mdx && next typegen && tsc --noEmit) exit 0
pnpm --filter @object-ui/auth type-check, then pnpm exec vitest run packages/auth/ (the importer whose snapshot key moved) exit 0. 28 files, 282 tests passed
The 10 test files that read pnpm-lock.yaml or resolve through apps/site: ci-cd-pipeline-doc, docs-build-trigger, check-installed-spec-pin-claims, check-lockfile-integrity, check-lockfile-dedupe, check-pre-install-import-graph, markdown-test-inputs, check-doc-links, check-changeset-presence, MetadataService.specKeyReference 10 files, 479 tests passed
node scripts/check-changeset-presence.mjs exit 0, "no changeset is owed"
check:control-bytes, check:new-line-citations, check:pre-install-import-graph, check:phantom-deps, check:unused-deps, type-check:coverage all exit 0
node scripts/check-governed-queue-guard.mjs --test apps/site/package.json pnpm-lock.yaml NOT GOVERNED

Left to CI: the repository-wide pnpm lint and pnpm type-check, the eight test shards, coverage, Build & E2E, and Bundle Analysis. No package source changes.

OSV-Scanner, before and after

I ran OSV-Scanner v2.3.8 as scan --offline-vulnerabilities --lockfile=pnpm-lock.yaml, against its offline npm database. The binary's SHA-256 (bc98e153…) matches the release's checksum file. objectui has no OSV workflow, so this is a reading, not a gate.

Tree Exit Result
main at 2124d04111 1 62 rows, 1 Critical: GHSA-vcvr-r3jv-pc5j, next 16.3.3
this branch at 76e9ee3 1 61 rows, 0 Critical

The two row sets differ by exactly one line: the next advisory is gone, and no row is added. The other 61 rows are already on main and are outside this card.

Changeset

None. apps/site is "private": true, and no published package's source or contract changes. node scripts/check-changeset-presence.mjs settles it (exit 0, above).

Acceptance notes

  • Overlap with draft feat(plugin-tree,plugin-map,types): object-tree and object-map are judged and publish the keys their renderers honour (objectui#11168 slice 3) #11335 (another seat). It also touches pnpm-lock.yaml, but only in the importers: block of a different package (it adds an @object-ui/sdui-parser workspace link). Its hunks are disjoint from this PR's. If git reports a conflict for whichever lands second, regenerate with pnpm install --lockfile-only; do not hand-merge.
  • Alert count. The push banner reported 2 critical Dependabot alerts on the default branch. OSV over pnpm-lock.yaml reads 1 Critical, the one fixed here. Where the second one comes from was not measured.
  • Node floor. Root engines.node declares >=22.11, and CONTRIBUTING.md repeats it. But jsdom@30.0.1 declares ^22.22.2 || ^24.15.0 || >=26.0.0, and .npmrc sets engine-strict=true. So on Node 22.22.0, which the declared floor admits, pnpm install --frozen-lockfile stops with ERR_PNPM_UNSUPPORTED_ENGINE naming jsdom. This PR does not change that. It is reported to the dispatching seat for a separate card. Locally I used a checksum-verified Node 22.23.3 from a scratch directory rather than turning engine-strict off.

Session: https://claude.ai/code/session_018gA1pE6eJtwHhqx72G8U9X


Generated by Claude Code

next 16.3.3 carries GHSA-vcvr-r3jv-pc5j (critical, Remote Code Execution
in next/og ImageResponse), and apps/site serves that surface from its
og/docs route. Move the exact pin to 16.3.6, the fixed release, and
regenerate pnpm-lock.yaml with `pnpm install --lockfile-only` under the
packageManager pnpm (10.31.0), starting from main's lockfile.

The lockfile moves only next and its own @next/* packages, plus the four
snapshot keys that embed the next version as a peer (fumadocs-core,
fumadocs-mdx, fumadocs-ui, better-auth). No package gains a physical copy.

Claude-Session: https://claude.ai/code/session_018gA1pE6eJtwHhqx72G8U9X
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 3 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/5793-spec-range-floors.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    Nothing a consumer installs today changes: normal resolution already picks the newest 17.x, and pnpm-lock.yaml still resolves 17.2.0 on this edge after the bump. The change is to the declared floor only, which is why it is scored patch rather than minor — the same reasoning objectui#5753 used for the other direction on this dependency.

.changeset/6361-spec-floor-17-2-0.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    Nothing a consumer installs today changes: normal resolution already picks the newest 17.x, and pnpm-lock.yaml still resolves 17.2.0 on both edges after the bump — only the recorded specifier: moves. No source and no behaviour changes, which is why this is scored patch, on the reasoning 111741454 used for the same remediation on @object-ui/plugin-detail.

.changeset/7122-objectstack-family-17-3-0.md

  • names pnpm-lock.yaml → pnpm-lock.yaml — edited by this change

    @objectstack/client, core, formula and lint each pin @objectstack/spec EXACTLY, so resolving the spec alone to 17.3.0 left the console bundling TWO copies of it. Moving the family with it in pnpm-lock.yaml collapses the duplicate; every declared range already admitted 17.3.0, so no manifest moved.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with 2124d0411 (merge-base with origin/main): 2 file(s) changed outside .changeset/, read against 1910 pending declaration(s) that publish a body (2524 pending in total). · run

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3552.7 KB 3574.6 KB
Main entry chunk (gzip) 150.4 KB 350 KB
Entry file index-DcOQ2GGR.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.88KB 6.25KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.13KB 7.95KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 571.28KB 136.83KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 229.96KB 63.80KB
fields (index.js) 261.05KB 66.23KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.40KB 12.91KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.49KB 9.23KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 40.55KB 11.41KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.01KB 3.93KB
plugin-calendar (index.js) 53.15KB 15.45KB
plugin-charts (index.js) 84.07KB 22.93KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 139.34KB 37.30KB
plugin-designer (index.js) 216.54KB 44.64KB
plugin-detail (index.js) 245.45KB 64.47KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 173.25KB 44.58KB
plugin-gantt (index.js) 173.11KB 43.10KB
plugin-grid (index.js) 231.53KB 63.58KB
plugin-kanban (index.js) 49.49KB 15.54KB
plugin-list (index.js) 116.63KB 28.97KB
plugin-map (index.js) 23.54KB 7.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.04KB 12.21KB
plugin-timeline (index.js) 33.91KB 10.00KB
plugin-tree (index.js) 11.20KB 3.89KB
plugin-view (index.js) 90.32KB 22.76KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 119.55KB 39.23KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.06KB 2.68KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 21.42KB 7.05KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 3.19KB 1.62KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.26KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 21.59KB 7.71KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 1, 2026 08:44
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 1, 2026 08:44
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit ad58cc1 Oct 1, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11356-next-ghsa-relock branch October 1, 2026 09:00
os-litant pushed a commit that referenced this pull request Oct 1, 2026
…jectui#11168 slice 3, round 4)

origin/main d0fba91 (#11346, #11359, #11361, #11367). It touches
pnpm-lock.yaml, which this branch also edits (the plugin-tree
devDependency link); no conflict.

Claude-Session: https://claude.ai/code/session_01VhxTqosz7wn54ahqyxgERT
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security(deps): apps/site next 16.3.3 carries GHSA-vcvr-r3jv-pc5j (critical): re-lock onto 16.3.6 (supersedes #11235 and #11236)

2 participants