Malicious Code Injection in tailwind-fabric: A Critical Vulnerability

tailwind-fabric Updated 20 Oct 2026

Summary

19/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-18082: Malicious code in tailwind-fabric (npm). Affects tailwind-fabric versions 3.0.1 – 3.0.4. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

tailwind-fabric is a Tailwind CSS plugin designed to enhance the styling capabilities of web applications. It allows developers to utilize Tailwind CSS features seamlessly. However, this package has been compromised, exposing users to potential security risks due to malicious code embedded within a private dependency.

Vulnerability Detail

The vulnerability originates from the tailwind-fabric package versions 3.0.1 and 3.0.4, which are linked to a malicious campaign. The package requires a private scoped dependency, @aaron205whitmore/postcss-animate-utils, that is not publicly accessible. This dependency contains malicious code that executes when the tailwind.config.js file loads the plugin, potentially compromising the application. The malicious code is designed to run without the need for any install scripts or network calls, making it particularly insidious.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall tailwind-fabric

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, avoid using the tailwind-fabric package until a secure version is released. Alternatively, you can manually remove the dependency from your project and replace it with a trusted Tailwind CSS plugin.

Conclusion

The tailwind-fabric package has been compromised, exposing users to significant security risks through malicious code in a private dependency. It is crucial for developers to update or remove the affected package to safeguard their applications.

See every vulnerability recorded for tailwind-fabric →

Share this vulnerability

FAQ

tailwind-fabric is a Tailwind CSS plugin that enhances styling capabilities for web applications.

The vulnerability allows malicious code to execute within your application, potentially leading to data breaches or unauthorized access.

If you are using tailwind-fabric versions 3.0.1 or 3.0.4, update to a patched version immediately or remove the package from your project.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. Check your application for vulnerabilities at Vulert Scanner.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall tailwind-fabric

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback