Home

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.

PUBLISHED Reserved 2025-12-15 | Published 2025-12-16 | Updated 2025-12-16 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73: External Control of File Name or Path

Product status

< 0.5.8
affected

References

github.com/...-react/security/advisories/GHSA-g239-q96q-x4qm

github.com/facebook/react/pull/29708

github.com/facebook/react/pull/30741

github.com/...ommit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d

cve.org (CVE-2025-68155)

nvd.nist.gov (CVE-2025-68155)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.