Malicious Code Vulnerability in static-content-cannabis Package

static-content-cannabis Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1856: Malicious code in static-content-cannabis (npm). Affects static-content-cannabis versions 999.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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The static-content-cannabis package is an npm module designed for managing and serving static content related to cannabis. It provides functionalities that allow developers to easily integrate cannabis-related content into their applications. However, this package has been identified to contain malicious code, posing significant security risks to users who implement it in their projects.

Vulnerability Detail

The vulnerability originates from a malicious code injection within the static-content-cannabis package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The specific version affected is 999.0.0, which has been flagged for containing harmful code that could exploit users' systems.

How To Fix

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

npm uninstall static-content-cannabis

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, you can remove the static-content-cannabis package from your project until a secure version is released. You can do this by running the following command: npm uninstall static-content-cannabis. This will prevent any potential exploitation from the malicious code.

Conclusion

The static-content-cannabis package has been flagged for containing malicious code that poses a serious security risk. Users are advised to update or remove the package to protect their applications from potential exploitation. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for static-content-cannabis →

Share this vulnerability

FAQ

It is an npm module used for managing and serving static content related to cannabis.

The vulnerability involves malicious code that can compromise the security of applications using the affected package.

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

You should immediately update the static-content-cannabis package to a secure version or uninstall it until a patch is available.

The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall static-content-cannabis

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