Skip to main content
← All vulnerabilities
CVE-2025-68155GHSA-G239-Q96Q-X4QM

@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

@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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • vitejs vite-plugin-react

    fixed in 0.5.8

  • @vitejs/plugin-rscnpm

    fixed in 0.5.8

References 4

GitHub · vitejs/vite-plugin-react

GitHub · facebook/react