CVE-2025-68155

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
Product@vitejs/plugin-rsc
PublishedDec 16, 2025
First seenDec 16, 2025

How to fix

Update
  • @vitejs/plugin-rsc0.5.8 or later

Affected products

ProductAffected versionsFixed in
@vitejs/plugin-rscnpmv < 0.5.80.5.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.