CVE 9.8 CRITICAL

@vitejs/plugin-rsc Remote Code Execution through unsafe dynamic imports in RSC server function APIs on development server_CVE-2025-67489

9.8 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

@vitejs/plugin-rs provides React Server Components (RSC) support for Vite. Versions 0.5.5 and below are vulnerable to arbitrary remote code execution on the development server through unsafe dynamic imports in server function APIs (loadServerAction, decodeReply, decodeAction) when integrated into RSC applications that expose server function endpoints. Attackers with network access to the development server can read/modify files, exfiltrate sensitive data (source code, environment variables, credentials), or pivot to other internal services. While this affects development servers only, the risk increases when using vite --host to expose the server on all network interfaces. This issue is fixed in version 0.5.6.

AI Analysis

Arbitrary remote code execution on the development server through unsafe dynamic imports in server function APIs

Basic Information

ID CVE-2025-67489
Source GitHub_M
Published Dec 9, 2025 at 20:54

Affected Product

Vendor vitejs
Product vite-plugin-react
Version < 0.5.6
Affected Versions vitejs vite-plugin-react < 0.5.6

CWE Classification

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor Vitejs
Product vite-plugin-react
Version 0.5.5 and below

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.