Skip to content

React Server Components are Vulnerable to RCE

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

Package

npm @vitejs/plugin-rsc (npm)

Affected versions

<= 0.5.2

Patched versions

0.5.3

Description

Summary

@vitejs/plugin-rsc vendors react-server-dom-webpack, which contained an unauthenticated remote code execution vulnerability in versions prior to 19.0.1, 19.1.2, and 19.2.1. See details in React repository's advisory GHSA-fv66-9v8q-g76r

Impact

Applications using affected versions of @vitejs/plugin-rsc are vulnerable to unauthenticated remote code execution through deserialization of untrusted data. An attacker can execute arbitrary code remotely without authentication, affecting confidentiality, integrity, and availability.

Recommendations

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

Workarounds

Applications not using server-side React or React Server Components are unaffected.

References

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

Severity

Critical

EPSS score

Weaknesses

Deserialization of Untrusted Data

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

CVE ID

No known CVE

GHSA ID

GHSA-fmh4-wr37-44fp
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.