{"id":"CVE-2025-68155","state":"PUBLISHED","title":"@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development","description":"@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.","publishedAt":"2025-12-16T18:20:51.428Z","updatedAt":"2025-12-16T21:48:33.959Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitejs vite-plugin-react"],"affected":[{"vendor":"vitejs","product":"vite-plugin-react","versions":[{"version":"< 0.5.8","status":"affected"}]}],"references":["https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm","https://github.com/facebook/react/pull/29708","https://github.com/facebook/react/pull/30741","https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68155.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68155","state":"PUBLISHED","datePublished":"2025-12-16T18:20:51.428Z","dateUpdated":"2025-12-16T21:48:33.959Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-15T23:02:17.603Z"},"containers":{"cna":{"title":"@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"vitejs","product":"vite-plugin-react","versions":[{"version":"< 0.5.8","status":"affected"}]}],"references":[{"url":"https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm","name":"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","name":"https://github.com/facebook/react/pull/29708","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/react/pull/30741","name":"https://github.com/facebook/react/pull/30741","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d","name":"https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-16T18:20:51.428Z"},"source":{"advisory":"GHSA-g239-q96q-x4qm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-16T21:47:42.775601Z","id":"CVE-2025-68155","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-16T21:48:33.959Z"}}]}}}