Critical Malicious Code Vulnerability in tailwind-theme-colors Package

tailwind-theme-colors Updated 02 Oct 2025

Summary

29/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6344: Malicious code in tailwind-theme-colors (npm). Affected versions are not published. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The tailwind-theme-colors package is an npm library designed to provide a set of color utilities for Tailwind CSS, enabling developers to easily customize their UI designs. However, this package has been identified as containing malicious code that poses significant security risks to any system where it is installed.

Vulnerability Detail

The vulnerability originates from the inclusion of embedded malicious code within the tailwind-theme-colors package. This code can compromise the integrity of the host system, allowing unauthorized access and control to external entities. Systems with this package installed should be considered fully compromised, and all sensitive information, such as secrets and keys, should be rotated immediately. The malicious nature of this code is classified under CWE-506, indicating that it appears to be intentionally harmful.

How To Fix

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

npm uninstall tailwind-theme-colors

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

Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the package entirely. Ensure that you monitor your system for any signs of compromise and consider using tools like Vulert to check for vulnerabilities in your dependencies.

Conclusion

The tailwind-theme-colors package has been identified as containing malicious code that poses serious security risks. Immediate action is required to remove the package and assess the security of affected systems. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in the future.

See every vulnerability recorded for tailwind-theme-colors →

Share this vulnerability

FAQ

You should immediately remove the package from your project and assess your system for any signs of compromise.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

Leaving this package installed can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.

If your system has been compromised, it is crucial to rotate all secrets and keys and conduct a thorough security audit to identify any further malicious activity.

If a patched version of the package is released, updating it may resolve the vulnerability. However, it is recommended to remove the package entirely until you can ensure the security of your system.

How To Fix

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

npm uninstall tailwind-theme-colors

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