-
Notifications
You must be signed in to change notification settings - Fork 0
fix: React and Next fixes for CVE-2025-55184 and CVE-2025-55183 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ph3t
wants to merge
1
commit into
main
Choose a base branch
from
fix/react-nextjs-security-update-1765499101919
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
CVE-2025-55182 React vulnerability CVSS 10.0💡 Result:
Short summary — CVE-2025-55182 (aka "React2Shell")
Sources
🌐 Web query:
React 19.0.3 security fixes release notes💡 Result:
There is no React 19.0.3 release listed in the official changelogs or release history. The recent security notes for React 19 concern a critical RCE in React Server Components (CVE-2025-55182) disclosed Dec 3, 2025; fixes were published in react-server-dom packages as 19.0.1, 19.1.2, and 19.2.1 (React team recommendation: upgrade immediately). Follow‑up DoS and source‑code‑exposure issues were disclosed Dec 11, 2025 and React recommended upgrading again. [1][2][3]
Sources:
If you want, I can fetch the exact release/changelog entries and paste the full release-note text for the fixed package versions.
🌐 Web query:
Next.js 15.3.8 security fixes changelog💡 Result:
Do you mean the official Next.js release v15.3.8? I can fetch the v15.3.8 changelog and security fixes from Next.js/Vercel and GitHub — shall I look that up now?
🌐 Web query:
CVE-2025-55184 CVE-2025-55183 React security💡 Result:
Summary — React Server Components vulnerabilities
CVE-2025-55183: an information‑disclosure bug in React Server Components (react-server-dom-webpack / -parcel / -turbopack). A crafted HTTP request to a Server Function can return the source code of Server Functions (affects listed 19.x releases). [1]
CVE-2025-55184: a pre‑authentication denial‑of‑service via unsafe deserialization of Server Function request payloads that can cause an infinite loop and hang the server process (affects the same react-server-dom packages / 19.x releases). [2]
Mitigation / guidance
Sources
[1] NVD entry — CVE-2025-55183.
[2] NVD entry — CVE-2025-55184.
[3] Fastly virtual patches for CVE-2025-55183 and CVE-2025-55184.
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 626
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 595
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 620
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 58
🌐 Web query:
React 19.0.3 release notes security fixes changelog💡 Result:
Short answer: there is no official React 19.0.3 release. The React releases/changelog and GitHub releases list shows 19.0.0 → 19.0.1 → 19.0.2 (and later 19.1.x / 19.2.x), but no 19.0.3 tag. See the React GitHub releases page. [1]
If you were asking about security fixes in the React 19 line: the recent critical RSC (React Server Components) RCE was disclosed as CVE-2025-55182 (fixed in 19.0.1 / 19.1.2 / 19.2.1), and follow‑up DoS/source‑exposure issues were disclosed on Dec 11, 2025. See the React security posts for the changelog/details. [2][3]
Sources:
🌐 Web query:
Next.js 15.3.8 release notes security changelog💡 Result:
Do you want a short summary or the direct links? I can summarize the 15.3.x security fixes (RSC / React CVEs, cache-poisoning fixes) and link the Next.js security advisory and the CVE advisories.
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 143
🏁 Script executed:
Repository: happyrobot-ai/frontend-interview
Length of output: 118
🌐 Web query:
React 19.0.3 npm package official release Meta React team💡 Result:
Short answer: There is no official stable release of the core react package published as [email protected] by the Meta/React team. The npm registry shows [email protected] (and various canary builds) as published versions, while @types/react has a 19.0.3 types package. [1][2]
Sources:
🌐 Web query:
Next.js 15.3.8 CVE-2025-55182 CVE-2025-55183 CVE-2025-55184 security patch💡 Result:
Short answer: These vulnerabilities (CVE-2025-55182, CVE-2025-55183, CVE-2025-55184) affect Next.js App Router via React Server Components and must be fixed by upgrading — Next.js published a security update on Dec 11, 2025 that lists the patched releases. For 15.3.x you should upgrade to 15.3.7 (not 15.3.8). [1][2]
What to do now
npm install [email protected]
Key references
If you want, I can:
React 19.0.3 does not exist as an official release; use a valid patched version instead.
React 19.0.3 is not published by the Meta React team. The actual patched versions for CVE-2025-55182 (critical RCE) and the follow-up CVEs (CVE-2025-55183, CVE-2025-55184) are 19.0.1, 19.1.2, or 19.2.1 depending on your target minor version. Update react and react-dom to one of these official releases.
Next.js 15.3.7 is the official patched version for 15.3.x per the Next.js security advisory (Dec 11, 2025); the PR specifies 15.3.8. Verify that 15.3.8 is intentional and contains all necessary security fixes, or downgrade to 15.3.7 if it is the recommended patch.
If this application uses React Server Components (RSC) with Next.js App Router, these updates are critical and must be deployed immediately. Non-RSC applications are not affected by these vulnerabilities.
🤖 Prompt for AI Agents