Critical Malicious Code Vulnerability in react-dom-experimental-builtin Package
Summary
MAL-2025-6303: Malicious code in react-dom-experimental-builtin (npm). Affects react-dom-experimental-builtin versions >= 10.0.1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The react-dom-experimental-builtin package is a part of the React ecosystem, designed to provide experimental features for rendering React components. It is utilized by developers looking to leverage cutting-edge functionalities in their applications. However, this package has been identified to communicate with a domain linked to malicious activities, posing a significant risk to applications that depend on it.
Vulnerability Detail
The vulnerability arises from the package's ability to connect with a domain associated with malicious activities. This could lead to unauthorized data access, potential data breaches, or the execution of harmful code within the application. The issue was introduced in version 10.0.1, making it critical for users of this version and beyond to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-dom-experimental-builtin
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
As a temporary workaround, consider removing the react-dom-experimental-builtin package from your project until a secure version is released. You can do this by executing: npm uninstall react-dom-experimental-builtin. This will prevent any potential malicious interactions while you await a fix.
Conclusion
The react-dom-experimental-builtin package has a critical vulnerability that allows communication with a malicious domain. It is essential for developers using this package to update to a secure version or remove it from their projects to protect their applications from potential threats.
See every vulnerability recorded for react-dom-experimental-builtin →
FAQ
It is an npm package that provides experimental features for rendering React components, aimed at developers seeking to utilize the latest functionalities.
The vulnerability allows the package to communicate with a malicious domain, which could lead to data breaches or the execution of harmful code.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities. You can also check your application against this vulnerability using the Vulert playground without any signup.
Detailed information can be found in the vulnerability report on GitHub or through security advisories related to the react-dom-experimental-builtin package.