Malicious Code Detected in libxmlfinal5 Package - Security Alert
Summary
MAL-2025-192454: Malicious code in libxmlfinal5 (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
libxmlfinal5 is an npm package that is typically used for XML parsing and manipulation in JavaScript applications. It is designed to provide developers with a robust set of tools for handling XML data efficiently. However, the package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in libxmlfinal5 originates from the presence of malicious code that can compromise the integrity of applications using this package. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The vulnerability was identified through Amazon Inspector, which flagged the package for containing harmful elements that could be exploited by attackers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall libxmlfinal5
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
If an immediate update cannot be performed, consider removing the libxmlfinal5 package from your project and replacing it with an alternative XML parsing library that does not have known vulnerabilities.
Conclusion
The libxmlfinal5 package has been flagged for containing malicious code, posing a significant risk to applications that rely on it. It is crucial to update the package to a secure version or consider alternative solutions to mitigate potential threats.
See every vulnerability recorded for libxmlfinal5 →
FAQ
libxmlfinal5 is an npm package used for XML parsing and manipulation in JavaScript applications.
The malicious code can lead to unauthorized access and potential data breaches within applications that utilize the libxmlfinal5 package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Consider removing the libxmlfinal5 package and replacing it with a secure alternative until you can update.
The vulnerability was identified by Amazon Inspector, which is a tool for detecting security issues in software packages.