
आपके Next.js / React RSC ऐप में CVE-2025-66478 (React 2 Shell RCE) को ठीक करने के लिए एक कमांड।

एक कमांड जो आपके Next.js / React RSC ऐप में CVE-2025-66478 (React 2 Shell RCE) को ठीक करता है।
npx fix-react2shell-next
आधिकारिक सलाहकारों के अनुसार नियतिवादी संस्करण बंप।
package.json फ़ाइलों को पुनरावर्ती रूप से स्कैन करता है (मोनोरेपोज़ को संभालता है)nextreact-server-dom-webpackreact-server-dom-parcelreact-server-dom-turbopack| वर्तमान वर्ज़न | पैच किया गया वर्ज़न |
|---|---|
| 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.
यह टूल आपके प्रोजेक्ट में सभी package.json फ़ाइलों को स्वचालित रूप से ढूँढता है, इन्हें छोड़कर:
node_modules.next, .turbo, .vercel, .nuxtdist, build, .outputcoveragenpm, yarn, pnpm, और bun वर्कस्पेस के साथ काम करता है।
MIT
| वर्तमान वर्ज़न | पैच किया गया वर्ज़न |
|---|
| 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 कैनरीज़ | 15.6.0-canary.58 |
| 16.x कैनरीज़ | 16.1.0-canary.12 |
| 14.3.0-canary.77+ | 14.3.0-canary.76 पर डाउनग्रेड करें या 15.0.5 पर अपग्रेड करें |