VDB
Sign up
MEDIUM5.3

GHSA-c6m7-q6pr-c64r

Vite Plugin React has a Source Code Exposure Vulnerability in React Server Components

Quick fix

GHSA-c6m7-q6pr-c64r — @vitejs/plugin-rsc: upgrade to the fixed version with the command below.

npm install @vitejs/plugin-rsc@0.5.7

Details

### Impact

`@vitejs/plugin-rsc` vendors `react-server-dom-webpack`, which contained a vulnerability in versions prior to 19.2.3. See details in React repository's advisory https://github.com/facebook/react/security/advisories/GHSA-925w-6v3x-g4j4

### Patches

Upgrade immediately to `@vitejs/plugin-rsc@0.5.7` or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@vitejs/plugin-rsc
Introduced in: 0Fixed in: 0.5.7
Fixnpm install @vitejs/plugin-rsc@0.5.7

References