Replies: 1 comment 1 reply
-
|
We started using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
A critical vulnerability in React Server Components (CVE 2025-55182) has been responsibly disclosed. It affects React 19 and frameworks that use it, including Next.js (CVE-2025-66478)
If you are using Next.js, every version between Next.js
15and16.0.6is affected, and we recommend immediately updating to the latest Next.js version containing the appropriate fixes (15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7)If you are using another framework using Server Components, we also recommend immediately updating to the latest React version containing the appropriate fixes (19.0.1, 19.1.2, and 19.2.1)
Information channels
If you’re relying on experimental features from the 15.x.x canary builds, try upgrading to
15.6.0-canary.58, which reintroduces theexperimental.pprflag and applies the CVE patch.If you are seeking for more guidance, open a new discussion item, linking back to this item.
Enabling canary features in stable versions
If you cannot upgrade to
15.6.0-canary.58, you can upgrade to the nearest safe stable version and apply the associated patch to allow features that are normally gated on canary releasesEach patch below is separated based on whether you are using
pnpmand can patch usingpnpm.patchedDependenciesornpm/yarnviapatch-package.v16.0.7
pnpm:[email protected]patch-package:next+16.0.7.patchv15.5.7
pnpm:[email protected]patch-package:next+15.5.7.patchv15.3.6
pnpm:[email protected]patch-package:next+15.3.6.patchv15.2.6
pnpm:[email protected]patch-package:next+15.2.6.patchv15.1.9
pnpm:[email protected]patch-package:next+15.1.9.patchv15.0.5
pnpm:[email protected]patch-package:next+15.0.5.patchv15.4.8
pnpm:[email protected]patch-package:next+15.4.8.patchInstructions
pnpm
patchespatchesdirectory. For[email protected], name the file[email protected]patchedDependenciesto package.json:{ "name": "patch-package-test", "version": "0.1.0", "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "eslint" }, "dependencies": { "next": "15.3.6", "react": "19.2.0", "react-dom": "19.2.0" }, "pnpm": { "patchedDependencies": { "[email protected]": "patches/[email protected]" } }, "devDependencies": { "@tailwindcss/postcss": "^4", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "eslint": "^9", "eslint-config-next": "16.0.7", "tailwindcss": "^4", "typescript": "^5" } }pnpm installyarn/npm
patchespatchesdirectory. For[email protected], name the filenext+15.3.6.patch{ "name": "patch-package-test", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "eslint", "postinstall": "patch-package" }, "dependencies": { "next": "15.3.6", "react": "19.2.0", "react-dom": "19.2.0" }, "devDependencies": { "@tailwindcss/postcss": "^4", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "eslint": "^9", "eslint-config-next": "16.0.7", "patch-package": "^8.0.1", "tailwindcss": "^4", "typescript": "^5" } }npm installoryarn installBeta Was this translation helpful? Give feedback.
All reactions