Critical Malicious Code Vulnerability in tailwind-stylecss Package
Summary
MAL-2025-192599: Malicious code in tailwind-stylecss (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-stylecss package is a tool designed for integrating Tailwind CSS styles into projects, facilitating the styling of web applications with utility-first CSS. It is widely used in the JavaScript ecosystem, particularly within npm, due to its ease of use and flexibility. However, this package has been compromised, leading to significant security concerns for users who have it installed.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the tailwind-stylecss package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information, such as secrets and keys. The origin of this malicious code is linked to a known malware source, and its implications are severe, as it can lead to full control of the affected system by an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tailwind-stylecss
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 workaround, you can temporarily stop using the tailwind-stylecss package and switch to alternative styling solutions until the issue is resolved. Ensure that you monitor your system for any unusual activity during this period.
Conclusion
The tailwind-stylecss package has been found to contain malicious code that poses a significant risk to users. Immediate action is required to remove the package and secure any sensitive information. Users should remain vigilant and monitor their systems for any signs of compromise.
See every vulnerability recorded for tailwind-stylecss →
FAQ
You should immediately remove the tailwind-stylecss package and rotate any sensitive information stored on your system.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Currently, there is no patched version available. It is advised to remove the package entirely.
Failing to address this vulnerability could lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
It is recommended to find alternative solutions for styling your application until the vulnerability is resolved.