Malicious Code Detected in facebook-for-woocommerce Package - Version 3.6.6
Summary
MAL-2025-6824: Malicious code in facebook-for-woocommerce (npm). Affects facebook-for-woocommerce versions 3.6.6. 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 facebook-for-woocommerce package is a Node.js module designed to integrate Facebook functionalities into WooCommerce, enabling e-commerce platforms to leverage Facebook's marketing and sales tools. This package is widely used by developers to enhance online store capabilities. However, version 3.6.6 has been identified as malicious, posing significant security risks to users.
Vulnerability Detail
The vulnerability stems from the package's communication with a domain linked to malicious activities. Additionally, it executes commands that are associated with harmful behavior, potentially compromising user data and system integrity. This malicious behavior can lead to unauthorized access, data breaches, and further exploitation of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall facebook-for-woocommerce
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 malicious package from your project by executing the command: 'npm uninstall facebook-for-woocommerce'. Consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The facebook-for-woocommerce package version 3.6.6 has been flagged for malicious activity, necessitating immediate action from users to mitigate potential risks. By updating or removing the package and utilizing tools like Vulert, developers can safeguard their applications against such vulnerabilities.
See every vulnerability recorded for facebook-for-woocommerce →
FAQ
Version 3.6.6 of facebook-for-woocommerce communicates with a domain known for malicious activities and executes harmful commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider uninstalling the package and looking for alternative solutions that do not pose security risks.
While specific exploits have not been detailed, the malicious behavior indicates a high risk of unauthorized access and data breaches.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and keep your packages updated to the latest secure versions.