Skip to content

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

HighCVSS 7.5 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
vitejs @vitejs/plugin-rsc(npm) < 0.5.8 0.5.8 Fixed
vitejs vite-plugin-react = < 0.5.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
vitejs @vitejs/plugin-rsc(npm) < 0.5.8 0.5.8
vitejs vite-plugin-react = < 0.5.8 No fix listed

References