Critical Malicious Code Vulnerability in react-server-dom-turbopack-experimental Package

Summary

25/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6304: Malicious code in react-server-dom-turbopack-experimental (npm). Affects react-server-dom-turbopack-experimental versions >= 10.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The react-server-dom-turbopack-experimental package is an experimental library in the npm ecosystem designed to enhance server-side rendering capabilities for React applications. It allows developers to build faster and more efficient web applications by optimizing the way components are rendered on the server. However, this package has been identified to contain malicious code that communicates with a domain associated with harmful activities, posing significant security risks to users and their applications.

Vulnerability Detail

The vulnerability stems from the presence of embedded malicious code within the react-server-dom-turbopack-experimental package, introduced in version 10.0.1. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information, including secrets and keys. The malicious activity is linked to a specific domain, and any system running this package should be considered fully compromised. Users are advised to take immediate action to mitigate the risks associated with this vulnerability.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall react-server-dom-turbopack-experimental

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely. It is essential to monitor your application for any signs of compromise and to rotate any secrets or keys that may have been exposed.

Conclusion

The react-server-dom-turbopack-experimental package contains a critical vulnerability due to embedded malicious code that can compromise systems. Immediate action is required to uninstall the package and secure any exposed sensitive information. Regular monitoring and using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for react-server-dom-turbopack-experimental →

Share this vulnerability

FAQ

It is an experimental npm package designed to improve server-side rendering for React applications.

The vulnerability can lead to unauthorized access to sensitive data and full compromise of the system where the package is installed.

You should immediately uninstall the package and rotate any sensitive information that may have been exposed.

No, there is currently no patched version available for this package. Complete removal is necessary.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json. You can check your application for this vulnerability using the Vulert playground at Vulert Scanner.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall react-server-dom-turbopack-experimental

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback