{"id":"GHSA-fmh4-wr37-44fp","aliases":[],"status":"published","title":"React Server Components are Vulnerable to RCE","description":"### 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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2025-12-03T19:07:52Z","modified":"2025-12-11T18:28:39Z","fixes":[{"ecosystem":"npm","package":"@vitejs/plugin-rsc","fixed_in":["0.5.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@vitejs/plugin-rsc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.5.2"},{"fixed":"0.5.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@vitejs/plugin-rsc","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.3"}]}]}],"references":[{"url":"https://github.com/facebook/react/security/advisories/GHSA-fv66-9v8q-g76r","tags":["web"]},{"url":"https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-fmh4-wr37-44fp","tags":["web"]},{"url":"https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components","tags":["web"]},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-9qr9-h5gf-34mp","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fmh4-wr37-44fp"},{"url":"https://github.com/vitejs/vite-plugin-react","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-fmh4-wr37-44fp","title":"React Server Components are Vulnerable to RCE","description":"### 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.","status":"published","published":"2025-12-03T19:07:52Z","modified":"2025-12-11T18:20:19Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:39:12.222121Z"}],"osv":[{"id":"GHSA-fmh4-wr37-44fp","title":"React Server Components are Vulnerable to RCE","description":"### 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.","status":"published","published":"2025-12-03T19:07:52Z","modified":"2025-12-11T18:28:39.190722Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
