CVE-2025-66478: Experimental PPR and patches to use experimental features in a stable versions #86813
Unanswered
icyJoseph
asked this question in
Show and tell
Replies: 1 comment
-
|
We started using |
Beta Was this translation helpful? Give feedback.
0 replies
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
As part of CVE-2025-66478, the Next.js team patched every v15 minor with fixes to protect developers.
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.Patches
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