Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/facebook/react/pull/29708
- https://github.com/facebook/react/pull/30741
- https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfb
- https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x
FAQ
What is CVE-2025-68155?
CVE-2025-68155 is a vulnerability with a CVSS score of 7.5 (HIGH). @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 ...
How severe is CVE-2025-68155?
CVE-2025-68155 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-68155?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.