Skip to content
7.5 High

CVE-2025-68155 @vitejs/plugin-rs provides React Server Components (RSC) support for Vite

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.

Affected products and versions

Product Affected versions Fixed in
vite-plugin-react 0.5 earliest → < 0.5.8 0.5.8
The 2 CVEs of vite-plugin-react →
Track this CVE