{"id":"GHSA-fmh4-wr37-44fp","summary":"React Server Components are Vulnerable to RCE","details":"### 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.","modified":"2025-12-11T18:28:39.190722Z","published":"2025-12-03T19:07:52Z","database_specific":{"cwe_ids":["CWE-502"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2025-12-03T19:07:52Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/facebook/react/security/advisories/GHSA-fv66-9v8q-g76r"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-9qr9-h5gf-34mp"},{"type":"WEB","url":"https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-fmh4-wr37-44fp"},{"type":"PACKAGE","url":"https://github.com/vitejs/vite-plugin-react"},{"type":"WEB","url":"https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components"}],"affected":[{"package":{"name":"@vitejs/plugin-rsc","ecosystem":"npm","purl":"pkg:npm/%40vitejs/plugin-rsc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-fmh4-wr37-44fp/GHSA-fmh4-wr37-44fp.json","last_known_affected_version_range":"\u003c= 0.5.2"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}