
Patches CVE-2025-55182 in your repositories
This repository provides a script to automatically bump and create pull requests (PRs) for repositories affected by CVE-2025-55182, which affects vulnerable versions of react-server-dom-* and related React packages.
react-server-dom-*, react, react-dom, and next versions in a repository's package.json.A critical security vulnerability (CVE-2025-55182) has been disclosed in React Server Components and related packages. To help OSS maintainers and teams patch their projects quickly and safely, this script automates the upgrade and PR creation process.
react-server-dom-webpack, react-server-dom-parcel, react-server-dom-turbopack → Upgraded to 19.2.1react, react-dom → Upgraded to 19.2.1next:
14.3.0-canary.77 or above, bumps to 14.1.415.x/16.x upgrade to latest patched (16.0.7)repo permissions.Install dependencies:
npm install
Set your GITHUB_TOKEN as an environment variable:
export GITHUB_TOKEN=your_token_here
Edit the repoUrls array in index.ts to list the GitHub repositories you wish to patch.
Run the main workflow:
npm run dev
package.json.See the main() function in index.ts for how to configure the list of repos and run the process.
package.json (monorepos may require customization).MIT License
For questions or contributions, please open an issue or PR!