Skip to content

Remote Code Execution in React Server Components

Critical
femiajiboye-okta published GHSA-x45p-7jhf-vqvm Dec 5, 2025

Package

npm react-server-dom-parcel (npm)

Affected versions

>= 19.1.0, < 19.1.2, = 19.2.0, = 19.0.0

Patched versions

19.1.2, 19.2.1, 19.0.1
npm react-server-dom-turbopack (npm)
>= 19.1.0, < 19.1.2, = 19.2.0, = 19.0.0
19.1.2, 19.2.1, 19.0.1
npm next.js (npm)
14.3.0-canary.77, 15.x, 16.x.
15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, or 16.0.7.
npm react-server-dom-webpack (npm)
= 19.0, >= 19.1.0, < 19.1.2, = 19.2.0
9.0.1, 19.1.2, 19.2.1

Description

Overview

A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0, including the following packages, as well as all frameworks that support React Server Components, including Next.js 14.3.0-canary.77, 15.x and 16.x using the App Router:

  • react-server-dom-parcel,
  • react-server-dom-turbopack,
  • react-server-dom-webpack.

The vulnerable code unsafely deserializes payloads from HTTP requests to Server Function endpoints.

Affected product and versions

You are affected by this vulnerability if your auth0/auth0-react is dependent on React Server Components versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 and Next.js versions 14.3.0-canary.77, 15.x, 16.x.

Recommendations

Upgrade dependent React Server Components to versions 19.0.1, 19.1.2, or 19.2.1. Upgrade Next.js to versions 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, or 16.0.7.

References

https://www.cve.org/CVERecord?id=CVE-2025-55182

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2025-55182

Weaknesses

No CWEs