Critical Malicious Code Vulnerability in xo-guest-components Package
Summary
MAL-2025-47363: Malicious code in xo-guest-components (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 xo-guest-components package is an npm library designed for building guest components in web applications. It is widely used for its modular approach and ease of integration. However, this package has been identified to contain malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the xo-guest-components package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information. The malicious nature of the code means that all secrets and keys stored on the affected system should be considered compromised. The origin of this vulnerability is linked to the package's codebase, which has been flagged for containing harmful elements that can lead to severe security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xo-guest-components
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 measure, you can prevent the use of the compromised package by removing it from your dependencies. Use the following command to uninstall the package: npm uninstall xo-guest-components. Additionally, monitor your application for any unusual activity.
Conclusion
The discovery of malicious code within the xo-guest-components package poses a serious threat to users and their systems. Immediate action is required to remove the package and secure any compromised information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for xo-guest-components →
FAQ
xo-guest-components is an npm library used for building guest components in web applications.
The package contains embedded malicious code that can compromise sensitive information and provide unauthorized access to systems.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Immediately uninstall the package using 'npm uninstall xo-guest-components' and rotate any sensitive credentials that may have been exposed.
Currently, there is no patched version available for the xo-guest-components package, so it is recommended to remove it entirely.