Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @vitejs/plugin-rsc
  4. ›
  5. GHSA-c6m7-q6pr-c64r

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

December 12, 2025

@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

References

  • github.com/advisories/GHSA-c6m7-q6pr-c64r
  • github.com/facebook/react/security/advisories/GHSA-925w-6v3x-g4j4
  • github.com/vitejs/vite-plugin-react
  • github.com/vitejs/vite-plugin-react/security/advisories/GHSA-c6m7-q6pr-c64r

Code Behaviors & Features

Detect and mitigate GHSA-c6m7-q6pr-c64r with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.7

Fixed versions

  • 0.5.7

Solution

Upgrade to version 0.5.7 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1395: Dependency on Vulnerable Third-Party Component
  • CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
  • CWE-502: Deserialization of Untrusted Data

Source file

npm/@vitejs/plugin-rsc/GHSA-c6m7-q6pr-c64r.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:17 +0000.