Critical Malicious Code Vulnerability in react-dom-bindings Package
Summary
MAL-2025-192973: Malicious code in react-dom-bindings (npm). Affected versions are not published. 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-bindings package is a JavaScript library used in web development, particularly in conjunction with React, to manage the binding of DOM elements. It is designed to facilitate the interaction between React components and the underlying DOM structure. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the react-dom-bindings package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it may lead to data breaches, unauthorized control over the affected system, and potential exploitation of other connected systems. It is classified under CWE-506, indicating that the product contains code that appears to be malicious in nature.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-dom-bindings
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
There are no effective workarounds for this vulnerability other than removing the package entirely. It is essential to monitor your system for any signs of compromise and take necessary actions to secure your environment.
Conclusion
The react-dom-bindings package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any potentially compromised information. Continuous monitoring for vulnerabilities is essential to maintain the integrity of your systems.
See every vulnerability recorded for react-dom-bindings →
FAQ
react-dom-bindings is a JavaScript library used in web development to manage the interaction between React components and the DOM.
The malicious code can fully compromise your system, allowing unauthorized access to sensitive information and control over your computer.
You should immediately uninstall the react-dom-bindings package and rotate any secrets or keys that may have been compromised.
No, there is currently no patched version of the react-dom-bindings package available.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.