Malicious Code Detected in libxmlrussia Package - npm Vulnerability
Summary
MAL-2025-192395: Malicious code in libxmlrussia (npm). Affects libxmlrussia versions 0.30.2. 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
libxmlrussia is an npm package designed for XML manipulation and processing. It provides various functionalities for developers to work with XML data efficiently. However, version 0.30.2 of this package has been identified as malicious, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the libxmlrussia package communicating with a domain associated with malicious activities. This behavior can lead to unauthorized data access, data exfiltration, or other harmful actions that compromise the integrity and security of the application using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall libxmlrussia
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 remove the libxmlrussia package from your project until a secure version is released. Use the following command:
npm uninstall libxmlrussia
Conclusion
The libxmlrussia package version 0.30.2 has been flagged for malicious behavior, necessitating immediate action from developers using this package. Updating to a secure version or removing the package is crucial to maintaining application security.
See every vulnerability recorded for libxmlrussia →
FAQ
libxmlrussia is an npm package used for XML manipulation and processing in JavaScript applications.
Version 0.30.2 communicates with a domain linked to malicious activities, posing security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a workaround, you can temporarily uninstall the libxmlrussia package until a secure version is available.
Regularly check vulnerability databases and consider using tools like Vulert to monitor your dependencies for any new vulnerabilities.