Malicious Code Detected in docusaurus-theme Package - Security Alert

docusaurus-theme Updated 02 Oct 2025

Summary

30/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6714: Malicious code in docusaurus-theme (npm). Affects docusaurus-theme versions >= 0.2.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 docusaurus-theme package is a popular npm package used for theming Docusaurus sites, providing developers with customizable options to enhance the visual appearance of their documentation. However, this package has been found to communicate with a domain associated with malicious activity, raising significant security concerns for users relying on it.

Vulnerability Detail

The vulnerability originates from the docusaurus-theme package version 0.2.0 and later, which includes malicious code that connects to a domain known for malicious activities. This could potentially lead to unauthorized access, data breaches, or other harmful consequences for applications utilizing this package. Users should be aware that the presence of such code can compromise the integrity and security of their applications.

How To Fix

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

npm uninstall docusaurus-theme

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 docusaurus-theme package from your project until a secure version is released. You can do this by executing: npm uninstall docusaurus-theme. Alternatively, you may explore other theming options that do not pose security risks.

Conclusion

The docusaurus-theme package has been identified as having a serious vulnerability due to its communication with a malicious domain. Users are strongly encouraged to update the package or remove it from their projects to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for docusaurus-theme →

Share this vulnerability

FAQ

The docusaurus-theme package is an npm package used for theming Docusaurus documentation sites, allowing developers to customize the look and feel of their documentation.

The package has been found to communicate with a domain linked to malicious activities, which could lead to security breaches or unauthorized access to sensitive data.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can provide real-time alerts without requiring code access. Visit Vulert Scanner to check your application.

Yes, it is advisable to update the docusaurus-theme package to the latest patched version to mitigate the risks associated with this vulnerability.

If immediate updates are not possible, consider removing the docusaurus-theme package or using alternative theming solutions until a secure version is available.

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 docusaurus-theme

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