fix(security): patch React Server Components RCE (CVE-2025-55182)#2
Merged
Conversation
Bump minimum react and react-dom versions from ^19.2.0 to ^19.2.1 to remediate the critical RCE vulnerability in React Server Components (CVE-2025-55182 / CVE-2025-66478, CVSS 10.0). React 19.2.0 is vulnerable to unauthenticated remote code execution via insecure deserialization in the React Flight protocol. References: - GHSA-9qr9-h5gf-34mp - https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components - https://nextjs.org/blog/CVE-2025-66478 Co-authored-by: 帅 <aaplp@qq.com>
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.
This pull request was created by @kiro-agent on behalf of @mistyle 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
Fixes the critical Remote Code Execution (RCE) vulnerability in React Server Components by upgrading the minimum required versions of
reactandreact-domfrom^19.2.0to^19.2.1.This addresses:
Changes
package.json: Bumpedreactandreact-domminimum from^19.2.0to^19.2.1pnpm-lock.yaml: Updated specifiers to match (resolved version 19.2.4 unchanged)Context
This is equivalent to the fix proposed in justnode/better-saas#22 (auto-generated by Vercel bot).
React 19.2.0 allows unauthenticated RCE on the server via insecure deserialization in the React Flight protocol. Version 19.2.1+ contains the fix.
References