Malicious Code Detected in tailwindcss-forms Package - Security Alert

tailwindcss-forms Updated 02 Dec 2025

Summary

01/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191595: Malicious code in tailwindcss-forms (npm). Affects tailwindcss-forms versions 1.0.3. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The tailwindcss-forms package is an npm library designed to enhance form styling in Tailwind CSS applications. It provides utility classes that simplify the process of creating aesthetically pleasing forms. However, this package has been compromised, leading to potential security risks for developers using it in their projects.

Vulnerability Detail

The vulnerability in the tailwindcss-forms package arises from the introduction of malicious code in version 1.0.3. This code could potentially allow attackers to execute harmful actions within the user's environment, leading to data breaches or unauthorized access. The malicious code was identified by ReversingLabs, highlighting the importance of scrutinizing third-party packages for security flaws.

How To Fix

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

npm uninstall tailwindcss-forms

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, consider removing the tailwindcss-forms package from your project until a secure version is released. You can do this by running: npm uninstall tailwindcss-forms. Alternatively, you may explore other form styling libraries that do not have known vulnerabilities.

Conclusion

The tailwindcss-forms package has been compromised with malicious code, posing significant security risks. Developers are advised to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for vulnerabilities in real-time.

See every vulnerability recorded for tailwindcss-forms →

Share this vulnerability

FAQ

tailwindcss-forms is an npm package that provides utility classes for styling forms in Tailwind CSS applications.

The malicious code was identified by ReversingLabs, which specializes in analyzing and reporting on security vulnerabilities in open-source packages.

The risks include potential data breaches, unauthorized access to user information, and execution of harmful actions within the application.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider removing the package or using alternative libraries until a secure version is available.

How To Fix

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

npm uninstall tailwindcss-forms

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