Question about CVE-2025-66478 and create-next-app #86889
Replies: 2 comments
-
|
React 19.2.0 isn’t affected by this CVE. The vulnerability was in Next.js’ RSC and Server Actions handling, not React itself. That logic lives entirely in Next.js’ server runtime. Since create-next-app installs Next.js 16.0.7 (which includes the patch), the generated project is not vulnerable to CVE-2025-6647 even though React stays at 19.2.0. |
Beta Was this translation helpful? Give feedback.
-
|
https://nextjs.org/docs#react-version-handling When you use App Router, Next.js manages the version of React. In this case, upgrading Next.js to 16.0.7 includes the React patch. As you can see here, the least three patches contain the fix: https://github.com/facebook/react/releases for React Flight protocol which handles Server Functions, that patches React version, for example You may also upgrade your react and react-dom dependencies too, but in App Router applications, it is Next.js that handles has a vendored/compiled version of React within its source control. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We noticed that running:
Creates a project with:
The next version (16.0.7) includes a fix for CVE-2025-66478, but the react and react-dom versions are still vulnerable. What does this mean? Is the resulting application still vulnerable or not?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions