{"id":"CVE-2025-68155","published":"2025-12-16T18:20:51Z","modified":"2025-12-16T21:48:33Z","title":"@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development","vendor":"vitejs","product":"vite-plugin-react","tier":"tail","description":{"text":"@vitejs/plugin-rs provides React Server Components (RSC) support for Vite. Prior to version 0.5.8, the `/__vite_rsc_findSourceMapURL` endpoint in `@vitejs/plugin-rsc` allows unauthenticated arbitrary file read during development mode. An attacker can read any file accessible to the Node.js process by sending a crafted HTTP request with a `file://` URL in the `filename` query parameter. Version 0.5.8 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00539,"percentile":0.46269,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facebook/react/pull/29708","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/react/pull/30741","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.25},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"vitejs","affectedVersions":[{"vendor":"vitejs","product":"vite-plugin-react","versions":["< 0.5.8"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-16T21:47:42.775601Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@vitejs/plugin-rsc","vulnerableRanges":["<0.5.8"],"patched":["0.5.8"],"from":["GHSA-g239-q96q-x4qm"],"provenance":"source"}],"summary":{"text":"The @vitejs/plugin-rsc package, which provides React Server Components support for Vite (vite-plugin-react), contains a flaw in its /__vite_rsc_findSourceMapURL endpoint that is active in development mode. An unauthenticated remote attacker with network access to the development server can send a crafted HTTP request with a file:// URL in the filename query parameter to read any file accessible to the Node.js process, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:04Z"},"euvd":{"id":"EUVD-2025-203834","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-67489","published":"2025-12-09","fixed":"0.5.6","kev":false,"link":{"from":"CVE-2025-67489","to":"CVE-2025-68155","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@vitejs/plugin-rsc","fromFixed":"0.5.6","toFixed":"0.5.8","daysApart":7},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + description similarity"}]}},{"cve":"CVE-2025-68155","published":"2025-12-16","fixed":"0.5.8","kev":false}],"package":"npm:@vitejs/plugin-rsc"}}