{
  "id": "CVE-2025-68155",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68155",
  "published_at": "2025-12-16T18:20:51.428Z",
  "title": "@vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development",
  "vendor": "vitejs",
  "product": "vite-plugin-react",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "vitejs",
        "product": "vite-plugin-react",
        "ranges": [
          "\u003c 0.5.8"
        ],
        "fixed_in": [
          "0.5.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade vite-plugin-react to 0.5.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/vitejs/vite-plugin-react/security/advisories/GHSA-g239-q96q-x4qm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/facebook/react/pull/29708"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/facebook/react/pull/30741"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitejs/vite-plugin-react/commit/582fba0b9a52b13fcff6beaaa3bfbd532bc5359d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
