Advisory

GHSA-fmh4-wr37-44fp

Also known as: None

Summary

React Server Components are Vulnerable to RCE

Details

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 https://github.com/facebook/react/security/advisories/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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-12-03 19:07 UTC
Modified
2025-12-11 18:28 UTC

Affected packages and fixes

@vitejs/plugin-rsc

npm · All systems

Affected

  • introduced 0, fixed 0.5.3 (semver)

Fixed versions

0.5.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences