Asymmetric denial of service - ReDoS In @vitejs/plugin-rsc

Description

@vitejs/plugin-rsc has a Denial of Service with React Server Components

Impact

@vitejs/plugin-rsc vendors react-server-dom-webpack, which contained a vulnerability in versions prior to 19.2.4. See details in React repository's advisory https://github.com/facebook/react/security/advisories/GHSA-479c-33wc-g2pg

Patches

Upgrade immediately to @vitejs/[email protected] or later.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions