CVE-2025-55182: React server dom webpack Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-fv66-9v8q-g76r
CVSS 10.0
CWE-502
Published
Advisory Summary

CVE-2025-55182 is a CRITICAL (CVSS 10.0) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting React server dom webpack libraries in the npm ecosystem. The issue involves react server components are vulnerable to rce. Remediation is available by upgrading affected packages to version 19.0.1, 19.1.2, 19.2.1.

CVE-2025-55182 at a Glance

CVE Identifier CVE-2025-55182
GHSA Identifier GHSA-fv66-9v8q-g76r
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product React server dom webpack
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 10.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-55182

To remediate this vulnerability, upgrade all affected React server dom webpack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

react-server-dom-webpack fixed: 19.0.1
npm install react-server-dom-webpack@19.0.1
react-server-dom-webpack fixed: 19.1.2
npm install react-server-dom-webpack@19.1.2
react-server-dom-webpack fixed: 19.2.1
npm install react-server-dom-webpack@19.2.1
react-server-dom-turbopack fixed: 19.0.1
npm install react-server-dom-turbopack@19.0.1
react-server-dom-turbopack fixed: 19.1.2
npm install react-server-dom-turbopack@19.1.2
react-server-dom-turbopack fixed: 19.2.1
npm install react-server-dom-turbopack@19.2.1
react-server-dom-parcel fixed: 19.0.1
npm install react-server-dom-parcel@19.0.1
react-server-dom-parcel fixed: 19.1.2
npm install react-server-dom-parcel@19.1.2
react-server-dom-parcel fixed: 19.2.1
npm install react-server-dom-parcel@19.2.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls react-server-dom-webpack

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-55182, inspect your project dependencies using npm:

npm ls react-server-dom-webpack

Analyze the terminal output to locate any version of React server dom webpack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 19.0.1), your application is affected.

Note: The npm ls react-server-dom-webpack command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In React server dom webpack, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact There is an unauthenticated remote code execution vulnerability in React Server Components. We recommend upgrading immediately. The vulnerability is present in versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 of: * [react-server-dom-webpack](https://www.npmjs.com/package/react-server-dom-webpack) * [react-server-dom-parcel](https://www.npmjs.com/package/react-server-dom-parcel) * [react-server-dom-turbopack](https://www.npmjs.com/package/react-server-dom-turbopack?activeTab=readme) ### Patches A fix was introduced in versions [19.0.1](https://github.com/facebook/react/releases/tag/v19.0.1), [19.1.2](https://github.com/facebook/react/releases/tag/v19.1.2), and [19.2.1](https://github.com/facebook/react/releases/tag/v19.2.1). If you are using any of the above packages please upgrade to any of the fixed versions immediately. If your app’s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability. ### References See the [blog post](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components) for more information and upgrade instructions.

CVE-2025-55182 Affected React server dom webpack Versions

9 component(s)
Fixed Versions:
19.0.119.1.219.2.1
Product / Package Ecosystem Affected Versions Fixed Version
react-server-dom-webpack
npm
≥ 19.0.0
< 19.0.1
All 1 versions
19.0.0
19.0.1
react-server-dom-webpack
npm
≥ 19.1.0
< 19.1.2
19.1.2
react-server-dom-webpack
npm
≥ 19.2.0
< 19.2.1
All 1 versions
19.2.0
19.2.1
react-server-dom-turbopack
npm
≥ 19.0.0
< 19.0.1
All 1 versions
19.0.0
19.0.1
react-server-dom-turbopack
npm
≥ 19.1.0
< 19.1.2
19.1.2
react-server-dom-turbopack
npm
≥ 19.2.0
< 19.2.1
All 1 versions
19.2.0
19.2.1
react-server-dom-parcel
npm
≥ 19.0.0
< 19.0.1
All 1 versions
19.0.0
19.0.1
react-server-dom-parcel
npm
≥ 19.1.0
< 19.1.2
19.1.2
react-server-dom-parcel
npm
≥ 19.2.0
< 19.2.1
All 1 versions
19.2.0
19.2.1

References

Frequently Asked Questions

What is CVE-2025-55182?
CVE-2025-55182 is a security vulnerability in React server dom webpack involving React Server Components are Vulnerable to RCE under CWE-502: Deserialization of Untrusted Data.
Which React server dom webpack versions are affected?
Affected versions include releases prior to 19.0.1, 19.1.2, 19.2.1 across affected packages: react-server-dom-webpack, react-server-dom-turbopack, react-server-dom-parcel.
What version fixes CVE-2025-55182?
Upgrading to 19.0.1, 19.1.2, 19.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is react-server-dom-webpack affected?
Yes, react-server-dom-webpack is affected in releases prior to 19.0.1, 19.1.2, 19.2.1. Upgrade your dependency to 19.0.1, 19.1.2, 19.2.1 or later.
Is react-server-dom-turbopack affected?
Yes, react-server-dom-turbopack is affected in releases prior to 19.0.1, 19.1.2, 19.2.1. Upgrade your dependency to 19.0.1, 19.1.2, 19.2.1 or later.
What is the CVSS score of CVE-2025-55182?
CVE-2025-55182 has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-55182?
CVE-2025-55182 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check npm dependencies for CVE-2025-55182?
Run the dependency tree command: 'npm ls react-server-dom-webpack'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fv66-9v8q-g76r",
  "modified" : "2025-12-09T16:53:23Z",
  "published" : "2025-12-03T19:07:39Z",
  "aliases" : [ "CVE-2025-55182" ],
  "summary" : "React Server Components are Vulnerable to RCE",
  "details" : "### Impact\n\nThere is an unauthenticated remote code execution vulnerability in React Server Components.\n\nWe recommend upgrading immediately.\n\nThe vulnerability is present in versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 of:\n* [react-server-dom-webpack](https://www.npmjs.com/package/react-server-dom-webpack)\n* [react-server-dom-parcel](https://www.npmjs.com/package/react-server-dom-parcel)\n* [react-server-dom-turbopack](https://www.npmjs.com/package/react-server-dom-turbopack?activeTab=readme)\n\n### Patches\n\nA fix was introduced in versions [19.0.1](https://github.com/facebook/react/releases/tag/v19.0.1), [19.1.2](https://github.com/facebook/react/releases/tag/v19.1.2), and [19.2.1](https://github.com/facebook/react/releases/tag/v19.2.1). If you are using any of the above packages please upgrade to any of the fixed versions immediately.\n\nIf your app’s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability.\n\n### References\n\nSee the [blog post](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components) for more information and upgrade instructions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-webpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.0.0"
      }, {
        "fixed" : "19.0.1"
      } ]
    } ],
    "versions" : [ "19.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-webpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.1.0"
      }, {
        "fixed" : "19.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-webpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.2.0"
      }, {
        "fixed" : "19.2.1"
      } ]
    } ],
    "versions" : [ "19.2.0" ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-turbopack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.0.0"
      }, {
        "fixed" : "19.0.1"
      } ]
    } ],
    "versions" : [ "19.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-turbopack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.1.0"
      }, {
        "fixed" : "19.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-turbopack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.2.0"
      }, {
        "fixed" : "19.2.1"
      } ]
    } ],
    "versions" : [ "19.2.0" ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-parcel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.0.0"
      }, {
        "fixed" : "19.0.1"
      } ]
    } ],
    "versions" : [ "19.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-parcel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.1.0"
      }, {
        "fixed" : "19.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "react-server-dom-parcel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.2.0"
      }, {
        "fixed" : "19.2.1"
      } ]
    } ],
    "versions" : [ "19.2.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/security/advisories/GHSA-fv66-9v8q-g76r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55182"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/pull/35277"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/commit/7dc903cd29dac55efb4424853fd0442fef3a8700"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ejpir/CVE-2025-55182-poc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/facebook/react"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/releases/tag/v19.0.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/releases/tag/v19.1.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/facebook/react/releases/tag/v19.2.1"
  }, {
    "type" : "WEB",
    "url" : "https://news.ycombinator.com/item?id=46136026"
  }, {
    "type" : "WEB",
    "url" : "https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components"
  }, {
    "type" : "WEB",
    "url" : "https://www.facebook.com/security/advisories/cve-2025-55182"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/12/03/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-03T19:07:39Z",
    "nvd_published_at" : "2025-12-03T16:15:56Z"
  }
}