# GHSA-c6m7-q6pr-c64r: Vite Plugin React has a Source Code Exposure Vulnerability in React Server Components

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-12-12T16:41:58.000Z
- Modified: 2025-12-12T16:54:17.233Z
- Weaknesses: CWE-497, CWE-502, CWE-1395

## 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/plugin-rsc@0.5.7` or later.

(As written by GitHub Advisory Database.)

## Affected

- @vitejs/plugin-rsc (npm): before 0.5.7

## References

- <https://github.com/facebook/react/security/advisories/GHSA-925w-6v3x-g4j4> (web)
- <https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-c6m7-q6pr-c64r> (web)
- <https://github.com/vitejs/vite-plugin-react> (package)

## Sources

- GitHub Advisory Database: [GHSA-c6m7-q6pr-c64r](https://github.com/advisories/GHSA-c6m7-q6pr-c64r), CC-BY-4.0, modified 2025-12-12

---

Page: https://cve.day/GHSA-c6m7-q6pr-c64r · Whole record: https://cve.day/GHSA-c6m7-q6pr-c64r.json · Rebuilt by cve.day 2026-11-25T22:56:45.041Z
