CVE-2025-68155
@vitejs/plugin-rs provides React Server Components (RSC) support …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm
- nvd.nist.gov/vuln/detail/CVE-2025-68155
- github.com/facebook/react/pull/29708
- github.com/facebook/react/pull/30741
- github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d
- github.com/advisories/GHSA-g239-q96q-x4qm
- nvd.nist.gov/vuln/detail/CVE-2025-68155
- cve.org/CVERecord?id=CVE-2025-68155
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.