Arbitrary Code Injection Affecting react-server-dom-webpack package, versions >=19.0.0-rc.0 <19.0.1>=19.1.0 <19.1.2>=19.2.0 <19.2.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTSERVERDOMWEBPACK-14173285
  • published3 Dec 2025
  • disclosed3 Dec 2025
  • creditLachlan Davidson

Introduced: 3 Dec 2025

NewCVE-2025-55182  (opens in a new tab)
CWE-502  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade react-server-dom-webpack to version 19.0.1, 19.1.2, 19.2.1 or higher.

Overview

react-server-dom-webpack is a React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.

Affected versions of this package are vulnerable to Arbitrary Code Injection via unsafe deserialization of RSC payloads from HTTP requests to Server Function endpoints. An unauthenticated attacker can execute arbitrary code on the server by sending malicious HTTP requests.

Note:

Serverless applications and applications that do not use a framework, bundler, or bundler plugin that supports React Server Components are not affected by this vulnerability.

CVSS Base Scores

version 4.0
version 3.1