Skip to content

Fix React Server Components RCE vulnerability#6

Merged
RogutKuba merged 1 commit into
mainfrom
vercel/dependencies-for-react-flight-u3c004
Dec 11, 2025
Merged

Fix React Server Components RCE vulnerability#6
RogutKuba merged 1 commit into
mainfrom
vercel/dependencies-for-react-flight-u3c004

Conversation

@vercel

@vercel vercel Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Important

This is an automatic PR generated by Vercel to help you with patching efforts. We can't guarantee it's comprehensive, and it may contain mistakes. Please review our guidance before merging these changes.

A critical remote code execution (RCE) vulnerability in React Server Components, impacting frameworks such as Next.js, was identified in the project coderscreen-marketing. The vulnerability enables unauthenticated RCE on the server via insecure deserialization in the React Flight protocol.

This issue is tracked under:

This automated pull request upgrades the affected React and Next.js packages to patched versions that fully remediate the issue.

More Info | security@vercel.com


Note

Upgrades Next.js to 15.4.8 in apps/marketing and updates related lockfile entries (including @next/env and SWC binaries).

  • Dependencies:
    • Upgrade next to 15.4.8 in apps/marketing/package.json.
    • Update lockfile to align with next@15.4.8, including @next/env and platform-specific @next/swc-* binaries.

Written by Cursor Bugbot for commit 2ce5e83. This will update automatically on new commits. Configure here.

Updated dependencies to fix Next.js CVE vulnerabilities.

The fix-react2shell-next tool automatically updated the following packages to their secure versions:
- next
- react-server-dom-webpack
- react-server-dom-parcel  
- react-server-dom-turbopack

All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor Author

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
coderscreen-marketing Ready Ready Preview Comment Dec 11, 2025 0:51am

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
coderscreen-web 2ce5e83 Dec 11 2025, 12:48 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 11, 2025

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
coderscreen-api 2ce5e83 Dec 11 2025, 12:50 AM

@RogutKuba
RogutKuba marked this pull request as ready for review December 11, 2025 00:51
@RogutKuba
RogutKuba merged commit dfe51d1 into main Dec 11, 2025
4 of 5 checks passed
@RogutKuba
RogutKuba deleted the vercel/dependencies-for-react-flight-u3c004 branch December 11, 2025 00:52

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"next": "15.4.8",
"next-mdx-remote": "^5.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: React remains vulnerable despite CVE fix claim

The PR description claims to fix CVE-2025-55182, a React vulnerability affecting React Server Components, but only next is upgraded while react and react-dom remain at version 19.1.0. According to the Snyk vulnerability database, React 19.1.0 has known vulnerabilities. If the RCE vulnerability exists in React itself (as suggested by the mentioned React Advisory), this fix may be incomplete. The React packages likely need to be upgraded alongside Next.js to fully remediate the vulnerability.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant