VDB
Sign up
HIGH7.5

GHSA-cpqf-f22c-r95x

Vite Plugin React has a Denial of Service Vulnerability in React Server Components

Quick fix

GHSA-cpqf-f22c-r95x — @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-7gmr-mq3h-m5h9

### 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