WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 31842e1

Browse files
authored
chore(examples) : next.js update for CVE-2025-66478 (#10876)
## Background https://nextjs.org/blog/CVE-2025-66478 Since some of the examples currently fall within the scope of the critical RCE vulnerability in React Server Components (CVE-2025-66478), so I’d like to update this template as well to ensure it can be used safely. I’d appreciate your consideration of this update. ## Summary There are no functional changes. In the `examples` folder, the Next.js version is updated from `15.5.4` to `15.5.7`. In the root `package.json`, the Next.js version is updated from `15.0.0-canary.23` to `15.0.5`. ## Manual Verification I tried several samples in `examples/next-openai` and confirmed that they work without any issues.
1 parent fd5a03d commit 31842e1

File tree

13 files changed

+289
-294
lines changed

13 files changed

+289
-294
lines changed

examples/next-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@ai-sdk/react": "3.0.0-beta.132",
1414
"@vercel/blob": "^0.26.0",
1515
"ai": "6.0.0-beta.131",
16-
"next": "^15.5.4",
16+
"next": "^15.5.7",
1717
"react": "^18",
1818
"react-dom": "^18",
1919
"react-markdown": "9.0.1",

examples/next-fastapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@ai-sdk/react": "3.0.0-beta.132",
1515
"ai": "6.0.0-beta.131",
1616
"geist": "^1.3.1",
17-
"next": "^15.5.4",
17+
"next": "^15.5.7",
1818
"react": "^18",
1919
"react-dom": "^18"
2020
},

examples/next-google-vertex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@ai-sdk/google-vertex": "4.0.0-beta.99",
1313
"ai": "6.0.0-beta.131",
1414
"geist": "^1.3.1",
15-
"next": "^15.5.4",
15+
"next": "^15.5.7",
1616
"react": "^18",
1717
"react-dom": "^18"
1818
},

examples/next-langchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@langchain/core": "0.1.63",
1616
"ai": "6.0.0-beta.131",
1717
"langchain": "0.1.36",
18-
"next": "^15.5.4",
18+
"next": "^15.5.7",
1919
"react": "^18",
2020
"react-dom": "^18"
2121
},

examples/next-openai-kasada-bot-protection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@ai-sdk/react": "3.0.0-beta.132",
1414
"@vercel/functions": "^3.1.0",
1515
"ai": "6.0.0-beta.131",
16-
"next": "^15.5.4",
16+
"next": "^15.5.7",
1717
"react": "^18",
1818
"react-dom": "^18",
1919
"sonner": "^1.7.1"

examples/next-openai-pages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@ai-sdk/openai": "3.0.0-beta.83",
1313
"@ai-sdk/react": "3.0.0-beta.132",
1414
"ai": "6.0.0-beta.131",
15-
"next": "^15.5.4",
15+
"next": "^15.5.7",
1616
"react": "^18",
1717
"react-dom": "^18",
1818
"zod": "3.25.76"

examples/next-openai-telemetry-sentry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@sentry/opentelemetry": "8.22.0",
1919
"@vercel/otel": "1.10.0",
2020
"ai": "6.0.0-beta.131",
21-
"next": "^15.5.4",
21+
"next": "^15.5.7",
2222
"react": "^18",
2323
"react-dom": "^18",
2424
"zod": "3.25.76"

examples/next-openai-telemetry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@opentelemetry/instrumentation": "0.52.1",
1717
"@vercel/otel": "1.10.0",
1818
"ai": "6.0.0-beta.131",
19-
"next": "^15.5.4",
19+
"next": "^15.5.7",
2020
"react": "^18",
2121
"react-dom": "^18",
2222
"zod": "3.25.76"

examples/next-openai-upstash-rate-limits/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@upstash/ratelimit": "^0.4.3",
1515
"@vercel/kv": "^0.2.2",
1616
"ai": "6.0.0-beta.131",
17-
"next": "^15.5.4",
17+
"next": "^15.5.7",
1818
"react": "^18",
1919
"react-dom": "^18",
2020
"sonner": "^1.7.1"

examples/next-openai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"class-variance-authority": "^0.7.1",
3737
"clsx": "^2.1.1",
3838
"lucide-react": "^0.545.0",
39-
"next": "^15.5.4",
39+
"next": "^15.5.7",
4040
"react": "^18",
4141
"react-dom": "^18",
4242
"react-markdown": "9.0.1",

0 commit comments

Comments
 (0)