Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Vulnerability in Stylex Project #1385

@ankitdn

Description

@ankitdn

Describe the issue

While working on the Stylex project, I uploaded the package files to Vulert for a dependency scan. The scan flagged a critical RCE vulnerability CVE-2025-67489 affecting @vitejs/plugin-rsc.
The issue is caused by unsafe dynamic imports in server function APIs (loadServerAction, decodeReply, decodeAction), allowing attackers with network access to execute arbitrary JavaScript code on the Node.js server.

CVE Report
CVE Link

Expected behavior

The package should not ship with vulnerable server APIs that allow RCE.

Steps to reproduce

Upload the project’s package.json and lock file to Vulert.
Run a vulnerability scan.
Observe that Vulert reports CVE-2025-67489 for @vitejs/plugin-rsc, indicating an RCE risk caused by unsafe dynamic imports.

Test case

No response

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions