Critical Malicious Code Vulnerability in tailwind-base-theme Package
Summary
MAL-2025-5959: Malicious code in tailwind-base-theme (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 tailwind-base-theme package is a utility designed for developers using Tailwind CSS, providing a set of pre-defined styles and themes to streamline the design process. However, this package has been identified as containing malicious code, which poses significant security risks to any application utilizing it. The vulnerability allows unauthorized access and control over systems where the package is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of embedded malicious code within the tailwind-base-theme package. This code can compromise any computer that has the package installed, potentially allowing attackers to access sensitive information, such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to full system compromise, data breaches, and unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tailwind-base-theme
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 avoid using the tailwind-base-theme package and consider alternative packages that provide similar functionality without the associated risks. Additionally, monitor your application for any signs of compromise and rotate any sensitive credentials stored on the affected systems.
Conclusion
The tailwind-base-theme package contains malicious code that poses a significant security threat to any system where it is installed. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring and using tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.
See every vulnerability recorded for tailwind-base-theme →
FAQ
Immediately remove the package from your project and rotate any sensitive credentials stored on the affected systems.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patch available. It is recommended to remove the package until a secure version is released.
Failure to address this vulnerability can lead to unauthorized access, data breaches, and complete system compromise.
Yes, consider using other packages that offer similar functionality without the security risks associated with tailwind-base-theme.