Skip to content

Commit 13b3c2e

Browse files
chanceaclarkclaude
andauthored
fix(core): TRAC-668 bump Next.js, React, and opennextjs/cloudflare for security patches (#3007)
Addresses multiple CVEs disclosed May 2026: - next: ~16.1.6 → ~16.2.6 (middleware bypass, SSRF, XSS, cache poisoning) - react/react-dom: 19.1.5 → 19.1.7 (GHSA-rv78-f8rc-xrxh DoS via OOM/CPU on server function endpoints) - @opennextjs/cloudflare: 1.17.3 → 1.19.9 in native-hosting workflow eslint-config-next intentionally left at 15.5.10 — @16.x requires ESLint 9+/flat config migration. Fixes TRAC-668 Co-authored-by: Claude <noreply@anthropic.com>
1 parent b47ace7 commit 13b3c2e

4 files changed

Lines changed: 566 additions & 503 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Bump Next.js and React to address security vulnerabilities
6+
7+
- `next`: ~16.1.6 → ~16.2.6 — fixes middleware bypass, SSRF, XSS, and cache poisoning CVEs
8+
- `react` / `react-dom`: 19.1.5 → 19.1.7 — fixes GHSA-rv78-f8rc-xrxh (DoS via OOM/CPU exhaustion on server function endpoints)

.github/workflows/native-hosting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: pnpm install --frozen-lockfile
2727

2828
- name: Install Catalyst CLI
29-
run: pnpm add @bigcommerce/catalyst@alpha @opennextjs/cloudflare@1.17.3
29+
run: pnpm add @bigcommerce/catalyst@alpha @opennextjs/cloudflare@latest
3030
working-directory: core
3131

3232
- name: Convert proxy.ts to middleware.ts

core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@
6060
"lodash.debounce": "^4.0.8",
6161
"lru-cache": "^11.1.0",
6262
"lucide-react": "^0.474.0",
63-
"next": "~16.1.6",
63+
"next": "~16.2.6",
6464
"next-auth": "5.0.0-beta.30",
6565
"next-intl": "^4.6.1",
6666
"nuqs": "^2.4.3",
6767
"p-lazy": "^5.0.0",
68-
"react": "19.1.5",
68+
"react": "19.1.7",
6969
"react-day-picker": "^9.7.0",
70-
"react-dom": "19.1.5",
70+
"react-dom": "19.1.7",
7171
"react-google-recaptcha": "^3.1.0",
7272
"react-headroom": "^3.2.1",
7373
"schema-dts": "^1.1.5",

0 commit comments

Comments
 (0)