Skip to content

Conversation

@aushaSanity
Copy link
Contributor

🚨 Security Advisory

This PR addresses CVE-2025-55182, a critical remote code execution vulnerability in React Server Components.

📋 Summary

Updates React dependencies to patched version 19.2.1 that fixes a critical RCE vulnerability affecting React 19.

🔧 Changes

Dependency Updates

Package Previous Version New Version
React 19.2.0 19.2.1 ✅
React DOM 19.2.0 19.2.1 ✅
React Is 19.2.0 19.2.1 ✅

Files Modified

  • pnpm-workspace.yaml - Updated catalog versions
  • pnpm-lock.yaml - Updated lockfile with new versions

🔐 Vulnerability Details

  • CVE ID: CVE-2025-55182
  • Severity: 🔴 Critical
  • Affected Versions: React 19.0, 19.1.0, 19.1.1, 19.2.0
  • Description: Under certain conditions, specially crafted requests could lead to unintended remote code execution in applications using React Server Components.
  • Reference: https://vercel.com/changelog/cve-2025-55182

✅ Testing

  • Dependencies installed successfully with pnpm install
  • No breaking changes expected (patch version bump)
  • Lockfile updated and committed

📚 Additional Context

What was the issue?

The vulnerability existed in React Server Components (RSC) where malicious requests could potentially execute arbitrary code on the server.

Why this matters for visual-editing

This repository provides visual editing tools that may use React Server Components in integrated applications. Keeping React updated is essential for security.

Platform Protections

Note: Projects hosted on Vercel already have platform-level protections that block malicious request patterns. However, upgrading is still strongly recommended regardless of hosting provider.

🚀 Deployment Notes

This is a patch version update with no breaking changes. Safe for immediate deployment.

Recommended Actions

  1. ✅ Merge this PR
  2. ✅ Publish updated packages
  3. ✅ Deploy to all environments
  4. ✅ Verify visual editing functionality
  5. ✅ Run security audits to confirm no remaining vulnerabilities

📖 Related

👥 Review Checklist

  • Security implications reviewed
  • No breaking changes introduced
  • Tests passing
  • Ready to deploy

Priority: 🔴 CRITICAL - Merge and deploy ASAP.

cc: @sanity-io/engineering

This commit updates React dependencies to patched version 19.2.1
that addresses CVE-2025-55182, a critical remote code execution
vulnerability in React Server Components.

Changes:
- React: 19.2.0 → 19.2.1
- React DOM: 19.2.0 → 19.2.1
- React Is: 19.2.0 → 19.2.1

Vulnerability Details:
- CVE ID: CVE-2025-55182
- Severity: Critical
- Description: React Server Components RCE vulnerability affecting
  React 19 under certain conditions with specially crafted requests
- Reference: https://vercel.com/changelog/cve-2025-55182

The vulnerability allowed specially crafted requests to potentially
lead to unintended remote code execution in applications using React
Server Components.

All affected packages have been updated to the latest patched versions
as recommended by Vercel and the React team.
@changeset-bot
Copy link

changeset-bot bot commented Dec 3, 2025

⚠️ No Changeset found

Latest commit: 404ca94

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Dec 3, 2025

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

Project Deployment Preview Comments Updated (UTC)
live-visual-editing-next Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-astro Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-next Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-next-with-i18n Error Error Dec 3, 2025 7:25pm
visual-editing-nuxt Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-page-builder-demo Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-remix Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-storybook Ready Ready Preview Comment Dec 3, 2025 7:25pm
visual-editing-studio Ready Ready Preview Comment Dec 3, 2025 7:25pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
visual-editing-svelte Ignored Ignored Dec 3, 2025 7:25pm

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedreact@​19.2.0 ⏵ 19.2.11001008497 +1100
Updatedreact-dom@​19.2.0 ⏵ 19.2.11001009298 +1100
Addedreact-is@​19.2.110010010098100

View full report

@stipsan stipsan merged commit 7906ced into main Dec 3, 2025
16 of 18 checks passed
@stipsan stipsan deleted the fix/cve-2025-55182-react-server-components branch December 3, 2025 19:33
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.

3 participants