VDB
Sign up
MEDIUM5.3

GHSA-925w-6v3x-g4j4

Source Code Exposure Vulnerability in React Server Components

Quick fix

GHSA-925w-6v3x-g4j4 — react-server-dom-parcel: upgrade to the fixed version with the command below.

npm install react-server-dom-parcel@19.0.2

Details

## Impact

There is a source code exposure vulnerability in React Server Components.

React recommends updating immediately.

The vulnerability exists in versions 19.0.0, 19.0.1 19.1.0, 19.1.1, 19.1.2, 19.2.0 and 19.2.1 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)

These issues are present in the patches published last week.

## Patches

Fixes were back ported to versions 19.0.2, 19.1.3, and 19.2.2.

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/11/denial-of-service-and-source-code-exposure-in-react-server-components) for more information and upgrade instructions.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/react-server-dom-parcel
Introduced in: 19.0.0Fixed in: 19.0.2
Fixnpm install react-server-dom-parcel@19.0.2
npm/react-server-dom-turbopack
Introduced in: 19.0.0Fixed in: 19.0.2
Fixnpm install react-server-dom-turbopack@19.0.2
npm/react-server-dom-webpack
Introduced in: 19.0.0Fixed in: 19.0.2
Fixnpm install react-server-dom-webpack@19.0.2
npm/react-server-dom-parcel
Introduced in: 19.1.0Fixed in: 19.1.3
Fixnpm install react-server-dom-parcel@19.1.3
npm/react-server-dom-parcel
Introduced in: 19.2.0Fixed in: 19.2.2
Fixnpm install react-server-dom-parcel@19.2.2
npm/react-server-dom-turbopack
Introduced in: 19.1.0Fixed in: 19.1.3
Fixnpm install react-server-dom-turbopack@19.1.3
npm/react-server-dom-turbopack
Introduced in: 19.2.0Fixed in: 19.2.2
Fixnpm install react-server-dom-turbopack@19.2.2
npm/react-server-dom-webpack
Introduced in: 19.1.0Fixed in: 19.1.3
Fixnpm install react-server-dom-webpack@19.1.3
npm/react-server-dom-webpack
Introduced in: 19.2.0Fixed in: 19.2.2
Fixnpm install react-server-dom-webpack@19.2.2

References