Critical Malicious Code Vulnerability in react-stylizer Package

react-stylizer Updated 02 Oct 2025

Summary

29/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6341: Malicious code in react-stylizer (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 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 react-stylizer package is an npm library designed to facilitate styling in React applications. It allows developers to create styled components efficiently. However, this package has been identified to contain malicious code, posing significant security risks to any application that utilizes it. The vulnerability stems from embedded code that can compromise the integrity and confidentiality of the system it runs on.

Vulnerability Detail

The vulnerability in the react-stylizer package is characterized by the presence of embedded malicious code. This code can lead to full system compromise, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected machine. The malicious nature of this code means that any system running this package should be considered at risk, and immediate action is required to mitigate potential damage.

How To Fix

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

npm uninstall react-stylizer

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 avoid using the react-stylizer package altogether and look for alternative libraries that provide similar functionality without the associated risks. Additionally, ensure that your application is monitored for any suspicious activity.

Conclusion

The react-stylizer package has been identified as containing malicious code that poses a severe security risk. Immediate removal of the package and monitoring of your system for any unusual activity is crucial. Utilizing tools like Vulert can help ensure your application remains secure against such vulnerabilities.

See every vulnerability recorded for react-stylizer →

Share this vulnerability

FAQ

react-stylizer is an npm package used for styling React components, enabling developers to create visually appealing applications.

The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to data breaches.

You should immediately remove the react-stylizer package from your project and consider rotating any sensitive keys or secrets stored on the affected machine.

Yes, you can use Vulert, which monitors open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without needing to sign up.

While removing the package is essential, there is no guarantee that all malicious software has been removed. It is advisable to conduct a thorough security audit of your system.

How To Fix

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

npm uninstall react-stylizer

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