Skip to content

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

High severity GitHub Reviewed Published Dec 12, 2025 in vitejs/vite-plugin-react • Updated Dec 12, 2025

Package

npm@vitejs/plugin-rsc (npm)

Affected versions

<= 0.5.6

Patched versions

0.5.7

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 GHSA-7gmr-mq3h-m5h9

Patches

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

References

@hi-ogawahi-ogawa published to vitejs/vite-plugin-react Dec 12, 2025
Published to the GitHub Advisory Database Dec 12, 2025
Reviewed Dec 12, 2025
Last updated Dec 12, 2025

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector:More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity:More severe for the least complex attacks.
Privileges required:More severe if no privileges are required.
User interaction:More severe when no user interaction is required.
Scope:More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality:More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity:More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability:More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS score

Weaknesses

Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource. Learn more on MITRE.

Deserialization of Untrusted Data

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. Learn more on MITRE.

Dependency on Vulnerable Third-Party Component

The product has a dependency on a third-party component that contains one or more known vulnerabilities. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-cpqf-f22c-r95x
LoadingChecking history
See something to contribute? Suggest improvements for this vulnerability.