Malicious Code Detected in dessandro-classie: A Security Alert

dessandro-classie Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6921: Malicious code in dessandro-classie (npm). Affects dessandro-classie versions >= 1.0.0. 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 'dessandro-classie' package is a utility library for managing CSS class names in JavaScript applications. It simplifies the process of adding, removing, and toggling classes on HTML elements. However, it has been found to communicate with a domain linked to malicious activities, raising significant security concerns for users relying on this package.

Vulnerability Detail

The vulnerability arises from the package's communication with a domain associated with malicious activity. This could potentially lead to data breaches, unauthorized access, or the execution of harmful scripts within applications that utilize this package. The issue was introduced in version 1.0.0 and remains a critical concern for developers who may unknowingly expose their applications to risks.

How To Fix

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

npm uninstall dessandro-classie

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 'dessandro-classie' package from your project and replacing it with an alternative library that does not have known vulnerabilities. This can be done by running: 'npm uninstall dessandro-classie'.

Conclusion

The 'dessandro-classie' package has been identified with a serious vulnerability due to its communication with a malicious domain. It is crucial for developers to take immediate action by updating or replacing the package to safeguard their applications from potential threats.

See every vulnerability recorded for dessandro-classie →

Share this vulnerability

FAQ

The vulnerability involves the package communicating with a domain linked to malicious activities, posing risks to applications using it.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without needing to sign up.

If an immediate update is not possible, consider removing the package and using an alternative library until a secure version is available.

Yes, continuing to use the vulnerable package may expose your application to data breaches and unauthorized access, which can lead to data loss.

You can find more information about the package on its GitHub repository or the npm package page.

How To Fix

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

npm uninstall dessandro-classie

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