Skip to content

Fix React Server Components CVE vulnerabilities#1

Draft
vercel[bot] wants to merge 132 commits intomainfrom
vercel/react-server-components-cve-vu-v2hky1
Draft

Fix React Server Components CVE vulnerabilities#1
vercel[bot] wants to merge 132 commits intomainfrom
vercel/react-server-components-cve-vu-v2hky1

Conversation

@vercel
Copy link

@vercel vercel bot commented Dec 13, 2025

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 smilescoreweb. 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

george11642 and others added 30 commits November 21, 2025 10:12
…pp with new screens and features. Added SafeAreaProvider for better layout handling, integrated task scheduling for notifications, and improved theme support across various screens. Updated dependencies in package.json and package-lock.json for better compatibility.
…, enhance subscription management, and improve product recommendation logic. Added new screens and features in the mobile app, including content detail navigation and routine customization options. Updated environment configurations and documentation for consistency across platforms.
… and enhance analysis limit handling. Improved documentation for subscription management and updated environment configurations. Added Sentry integration for error tracking in the mobile app and refined API URL handling across various components.
…uction readiness

- Deployed to Vercel production
- Fixed TypeScript errors and Suspense boundaries
- Fixed onboarding navigation bug (realtime/polling conflict)
- Added production readiness documentation
- Updated admin pages with improved UI
- Added missing imports and type fixes
- Prepared for App Store submission
- Removed .env and .env*.local from .gitignore
- Added web/.env.local to repository
- mobile/.env already tracked
…nd improve task completion logic

- Updated EXPO_PUBLIC_APP_URL in mobile/.env.local for better network access during development.
- Incremented app version in mobile/app.json to 1.0.1.
- Enhanced task completion logic in mobile/lib/routines/habits.ts with improved error handling and logging.
- Updated API URL handling in mobile/lib/utils/apiUrl.ts to accommodate different environments and ensure proper fallback mechanisms.
- Refactored subscription check logic in mobile/screens/RoutinesScreen.tsx for better user experience and error management.
- Updated dependencies in package.json and package-lock.json for compatibility and performance improvements.
- Added new logging statements for better debugging and tracking of task completion status.
…ime errors, API URLs, and environment configuration
- Update webhook handler to recognize 'Smile Score Pro' entitlement identifier
- Update sync route to match RevenueCat entitlement naming
- Update mobile client to check for 'Smile Score Pro' entitlement
- Add improved logging for entitlement matching and debugging
- Maintain backward compatibility with 'pro' identifier
Your Name and others added 26 commits December 9, 2025 18:13
…p and enhance authentication flow in web app

Add functionality to handle universal/app links in the mobile app for restoring Supabase sessions after email confirmation. Update the web app's authentication callback to include fallback URL handling and improved redirection logic based on session state. This ensures a smoother user experience during the authentication process.
…tion page

- Removed the Pricing tab from the mobile app's main navigation.
- Eliminated the deep link handling logic for Supabase session tokens in the mobile app.
- Updated the loading screen to adapt background color based on the current color scheme.
- Removed the AppAuthConfirmPage from the web app as it is no longer needed.
- Simplified the authentication callback logic in the web app to redirect based on the presence of a code.
- Added deep link handling to manage Supabase session tokens upon email confirmation in the mobile app.
- Updated the mobile app configuration to include a custom URL scheme.
- Modified the authentication context to utilize a dynamic email redirect URL.
- Adjusted the web app's authentication callback to redirect to the '/app' route by default.
- Implemented referral code processing in the mobile app's deep link handling, allowing for storage and retrieval of referral codes.
- Updated the PricingScreen to check for referral codes from both navigation parameters and stored values, ensuring proper attribution during package purchases.
- Improved referral tracking in the web app by adding a callback mechanism for successful tracking, enabling redirection after tracking completion.
- Refactored referral tracking utility to accept an optional success callback for better control over post-tracking actions.
Updated dependencies to fix Next.js and React 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
Copy link
Author

vercel bot commented Dec 13, 2025

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

Project Deployment Review Updated (UTC)
smilescoreweb Ready Ready Preview, Comment Dec 13, 2025 4:24pm

@coderabbitai
Copy link

coderabbitai bot commented Dec 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

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