Critical Malicious Code Vulnerability in react-is-router Package

react-is-router Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6651: Malicious code in react-is-router (npm). Affects react-is-router 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 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 react-is-router package is a utility for integrating React applications with routing capabilities. It allows developers to manage navigation and rendering of components based on the application's state. However, this package has been identified to contain malicious code that could compromise the security of applications relying on it.

Vulnerability Detail

The vulnerability identified as MAL-2025-6651 originates from a malicious version of the react-is-router package (version 1.0.0). This version includes harmful code that can lead to unauthorized access or manipulation of application data. The implications of this vulnerability are severe, as it can potentially allow attackers to execute arbitrary code within the context of the affected application, leading to data breaches or service disruptions.

How To Fix

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

npm uninstall react-is-router

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 react-is-router package from your project until a secure version is confirmed. You can do this by running the command: npm uninstall react-is-router.

Conclusion

The react-is-router package has been identified with a critical vulnerability due to malicious code in version 1.0.0. It is essential for developers using this package to take immediate action by updating to a secure version or removing the package to protect their applications from potential threats.

See every vulnerability recorded for react-is-router →

Share this vulnerability

FAQ

react-is-router is a utility package for managing routing in React applications, enabling developers to control navigation and component rendering.

You can use Vulert, which monitors open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can alert you in real-time if your application is affected. You can also use the Vulert playground at Vulert Scanner to check for vulnerabilities without signing up.

If immediate updates are not feasible, consider removing the package as a temporary measure to mitigate risks until a secure version is available.

Detailed information about this vulnerability can be found in the official GitHub repository and the ReversingLabs report linked in the vulnerability details.

Failing to address this vulnerability could lead to unauthorized access, data breaches, and significant disruptions to your application, potentially harming your users and your organization's reputation.

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 react-is-router

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