GHSA-c6m7-q6pr-c64r Vite Plugin React has a Source Code Exposure Vulnerability in React Server Components
An attacker can access source code via a vulnerability in the vendored React Server Components library within the Vite plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-c6m7-q6pr-c64r?
GHSA-c6m7-q6pr-c64r is a vulnerability in @vitejs/plugin-rsc, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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/[email protected] or later.
Which versions are affected by GHSA-c6m7-q6pr-c64r?
2 open source packages ship an affected version, including @vitejs/plugin-rsc.
| Package | Affected | Fixed in |
|---|---|---|
@vitejs/plugin-rsc npm | All versions | 0.5.7 |
@vitejs/plugin-rsc npm | All versions | 0.5.7 |
How do I fix GHSA-c6m7-q6pr-c64r?
Upgrade @vitejs/plugin-rsc to 0.5.7 or later.
Is GHSA-c6m7-q6pr-c64r being exploited?
There is no known exploitation of GHSA-c6m7-q6pr-c64r in the wild and no public exploit code.