Draft
Upgrade Next.js 14.2.35 → 15.5.12 to patch RSC deserialization DoS CVE#1
Conversation
- Add Next.js 14.2.35 app with TypeScript and Tailwind CSS - Home page with hero section and agent card grid - Dynamic /agents/[agentId] page with input form and mock output - AgentCard, InputForm, OutputCard components - Agent registry with Wallet Watch and Crypto Narrative Scanner agents - Dark slate/indigo/violet theme via Tailwind - next.config.mjs (14.x does not support .ts config) - Upgraded next from 14.2.29 to 14.2.35 to patch Server Components DoS CVEs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… README Co-authored-by: emirmndc <199739432+emirmndc@users.noreply.github.com>
Co-authored-by: emirmndc <199739432+emirmndc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Next.js app for Agent Foundry
Upgrade Next.js 14.2.35 → 15.5.12 to patch RSC deserialization DoS CVE
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
next@14.2.35is vulnerable to HTTP request deserialization DoS via React Server Components (affected:>= 13.0.0, < 15.0.8). Intermediate versions carry additional CVEs (Authorization Bypass, Cache Poisoning, RCE via React flight protocol);15.5.12is the first stable release with zero known advisories.Dependency changes
next:14.2.35→15.5.12eslint-config-next:14.2.35→15.5.12Next.js 15 breaking change:
paramsis now aPromisePage props in Next.js 15 require
paramsto be awaited. The agent detail page is refactored into:page.tsx— thin async server component that awaitsparamsand forwardsagentIdas a plain string propAgentPageClient.tsx— extracted client component (previously inlined inpage.tsx) that receivesagentId: stringOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.