Critical Malicious Code Vulnerability in fruit-malicious-xml-parser Package
Summary
MAL-2025-192550: Malicious code in fruit-malicious-xml-parser (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 fruit-malicious-xml-parser is an npm package designed for parsing XML data. While it may offer useful functionality for developers, it has been identified as containing malicious code that compromises the security of any system where it is installed. This vulnerability poses a significant risk as it can lead to unauthorized access and control over the affected systems.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the fruit-malicious-xml-parser package. This code can fully compromise any computer that has the package installed, allowing attackers to gain control and access sensitive information such as secrets and keys. The malicious nature of this code is classified under CWE-506, indicating that it contains embedded malicious code 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 fruit-malicious-xml-parser
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 fruit-malicious-xml-parser package poses a severe security risk due to the presence of malicious code. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring of your applications for vulnerabilities is essential to maintain security.
See every vulnerability recorded for fruit-malicious-xml-parser →
FAQ
It is an npm package designed for parsing XML data, but it has been compromised with malicious code.
The malicious code can grant attackers full control over your system, potentially leading to data breaches and loss of sensitive information.
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
No, there is currently no patched version available for the fruit-malicious-xml-parser package.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.