Malicious Code Detected in canva-test Package - Security Alert

canva-test Updated 23 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192720: Malicious code in canva-test (npm). Affects canva-test 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The canva-test package is an npm module designed for testing purposes within the Canva ecosystem. It is utilized by developers to create and manage design-related functionalities. However, the package has been found to contain malicious code, posing a significant security risk to users who integrate it into their applications.

Vulnerability Detail

The vulnerability in the canva-test package arises from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious code was identified in version 1.0.0 of the package, and it is crucial for users to be aware of its potential ramifications.

How To Fix

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

npm uninstall canva-test

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, users can avoid using the canva-test package altogether and look for alternative packages that provide similar functionality without the associated risks.

Conclusion

The canva-test package has been identified as containing malicious code, posing a serious security threat to users. It is essential to remove this package from your projects and monitor for any updates or patches that may address this vulnerability. Utilizing tools like Vulert can help in real-time monitoring of open-source vulnerabilities.

See every vulnerability recorded for canva-test →

Share this vulnerability

FAQ

The canva-test package is an npm module used for testing functionalities within the Canva ecosystem.

The vulnerability involves malicious code that can compromise the security of applications using the 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 remove the canva-test package from your project immediately and look for alternative solutions.

Currently, there is no patched version available for the canva-test package.

How To Fix

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

npm uninstall canva-test

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