CVE-2025-68155
HIGH 7.5CVSS 3.1@vitejs/plugin-rsc has an Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint
@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
- 16 Dec 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-g239-q96q-x4qm
- Sources
- NVDJSONOSV GHSA-g239-q96q-x4qmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @vitejs/plugin-rsc | < 0.5.8 | 0.5.8 |
References
- https://github.com/facebook/react/pull/29708 · WEB
- https://github.com/facebook/react/pull/30741 · WEB
- https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d · WEB
- https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68155 · ADVISORY
- https://github.com/vitejs/vite-plugin-react · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 16 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Dec 2025)