
Ein Befehl, um CVE-2025-66478 (React 2 Shell RCE) in Ihrer Next.js / React RSC-App zu beheben.

Ein Befehl, um CVE-2025-66478 (React 2 Shell RCE) in Ihrer Next.js / React RSC App zu beheben.
npx fix-react2shell-next
Deterministische Versionsaktualisierungen gemäß den offiziellen Sicherheitshinweisen.
package.json-Dateien (unterstützt Monorepos)nextreact-server-dom-webpackreact-server-dom-parcelreact-server-dom-turbopack| Aktuelle Version | Behobene Version |
|---|---|
| 19.0.0 | 19.0.1 |
| 19.1.0, 19.1.1 | 19.1.2 |
| 19.2.0 | 19.2.1 |
npx fix-react2shell-next
npx fix-react2shell-next --fix
npx fix-react2shell-next --dry-run
npx fix-react2shell-next --json
🔍 fix-react2shell-next - CVE-2025-66478 vulnerability scanner
📂 Found 3 package.json file(s)
🚨 Found 2 vulnerable file(s):
📄 package.json
next: ^15.1.0 → 15.1.9
📄 apps/web/package.json
next: ^15.4.3 → 15.4.8
react-server-dom-webpack: 19.1.0 → 19.1.2
🔧 Apply fixes? [Y/n] y
🔧 Applying fixes...
✓ Updated package.json
✓ Updated apps/web/package.json
📦 Package manager: pnpm
🔄 Refreshing lockfile...
$ pnpm install
✅ Patches applied!
Remember to test your app and commit the changes.
Das Tool findet automatisch alle package.json-Dateien in Ihrem Projekt, mit Ausnahme von:
node_modules.next, .turbo, .vercel, .nuxtdist, build, .outputcoverageFunktioniert mit npm-, yarn-, pnpm- und bun-Workspaces.
MIT
| Aktuelle Version | Behobene Version |
|---|
| 15.0.0 – 15.0.4 | 15.0.5 |
| 15.1.0 – 15.1.8 | 15.1.9 |
| 15.2.0 – 15.2.5 | 15.2.6 |
| 15.3.0 – 15.3.5 | 15.3.6 |
| 15.4.0 – 15.4.7 | 15.4.8 |
| 15.5.0 – 15.5.6 | 15.5.7 |
| 16.0.0 – 16.0.6 | 16.0.7 |
| 15.x canaries | 15.6.0-canary.58 |
| 16.x canaries | 16.1.0-canary.12 |
| 14.3.0-canary.77+ | Downgrade auf 14.3.0-canary.76 oder Upgrade auf 15.0.5 |