{"id":"GHSA-fmh4-wr37-44fp","aliases":["GHSA-fmh4-wr37-44fp"],"related":[],"kind":"vulnerability","state":"published","title":"React Server Components are Vulnerable to RCE","summary":"### Summary\n\n`@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\n\n### Impact\n\nApplications 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.\n\n### Recommendations\n\nUpgrade immediately to `@vitejs/plugin-rsc@0.5.3` or later.\n\n### Workarounds\n\nApplications not using server-side React or React Server Components are unaffected.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Summary\n\n`@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\n\n### Impact\n\nApplications 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.\n\n### Recommendations\n\nUpgrade immediately to `@vitejs/plugin-rsc@0.5.3` or later.\n\n### Workarounds\n\nApplications not using server-side React or React Server Components are unaffected.","format":"markdown","source":"ghsa"}],"published":"2025-12-03T19:07:52.000Z","modified":"2025-12-11T18:28:39.190Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.3"}],"ecosystem":"npm","package":"@vitejs/plugin-rsc","purl":"pkg:npm/%40vitejs/plugin-rsc","source":"ghsa"}],"references":[{"url":"https://github.com/facebook/react/security/advisories/GHSA-fv66-9v8q-g76r","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-9qr9-h5gf-34mp","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-fmh4-wr37-44fp","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vitejs/vite-plugin-react","tags":["package"],"sources":["ghsa"]},{"url":"https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fmh4-wr37-44fp","url":"https://github.com/advisories/GHSA-fmh4-wr37-44fp","licence":"CC-BY-4.0","modified":"2025-12-11T18:28:39.190Z"}],"updatedAt":"2026-11-25T22:56:45.283Z"}