Malicious Code Detected in libxmlpupupu Package - npm Vulnerability
Summary
MAL-2025-192462: Malicious code in libxmlpupupu (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
libxmlpupupu is an npm package designed for XML manipulation and processing. It offers various utilities for handling XML data, making it a popular choice among developers working with web applications and data interchange formats. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the libxmlpupupu package. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was identified by Amazon Inspector, which flagged the package for containing harmful elements that could exploit users' systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall libxmlpupupu
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 workaround, you can remove the libxmlpupupu package from your project until a secure version is available. Use the following command to uninstall it: npm uninstall libxmlpupupu.
Conclusion
The libxmlpupupu package has been flagged for containing malicious code, posing a significant security risk to applications that utilize it. It is crucial to update the package to a secure version or remove it until a fix is available. Monitoring tools like Vulert can help keep your applications safe from such vulnerabilities.
See every vulnerability recorded for libxmlpupupu →
FAQ
libxmlpupupu is an npm package used for XML manipulation and processing in web applications.
The malicious code was identified by Amazon Inspector, a security tool that scans packages for vulnerabilities.
The risks include unauthorized access to sensitive data, potential data breaches, and exploitation of the application.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.