Dependency Confusion Vulnerability in react-paginate-v5: Malicious Code Execution Risk

react-paginate-v5 Updated 11 Oct 2026

Summary

11/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17777: Malicious code in react-paginate-v5 (npm). Affects react-paginate-v5 versions 99.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

react-paginate-v5 is a JavaScript package designed for pagination in React applications. It provides developers with an easy way to implement pagination features, enhancing user experience in applications that handle large datasets. However, the package version 99.0.0 has been identified as a malicious dependency that mimics the legitimate react-paginate package, posing significant security risks.

Vulnerability Detail

The vulnerability originates from a malicious version of the react-paginate-v5 package, specifically version 99.0.0, which is a dependency-confusion probe. This version is designed to win resolution against internal packages by using an implausibly high version number. It includes a preinstall lifecycle script that executes a DNS lookup to a canary domain controlled by an attacker. This action occurs automatically during the installation process, allowing the attacker to confirm successful installations and gather metadata about the resolver. The package lacks any legitimate functionality and can be exploited to execute arbitrary shell commands.

How To Fix

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

npm uninstall react-paginate-v5

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-paginate-v5 package entirely until the issue is resolved. If you must use it, consider using a different package for pagination or implement pagination manually to mitigate risks.

Conclusion

The react-paginate-v5 package version 99.0.0 poses a significant security risk due to its malicious code designed to execute unauthorized commands. It is essential to remove this version and replace it with a legitimate one to safeguard your application. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for react-paginate-v5 →

Share this vulnerability

FAQ

Dependency confusion occurs when a malicious package is published with the same name as an internal package, tricking the package manager into installing the malicious version instead of the intended internal one.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can identify if your application is affected by this vulnerability. Visit the Vulert playground at Vulert Scanner to check without any signup.

The risks include unauthorized code execution, data exfiltration, and potential compromise of the entire application environment, leading to severe security breaches.

To prevent similar vulnerabilities, always verify package sources, use package-lock files, and employ tools like Vulert to monitor for vulnerabilities in real-time.

If you have installed the malicious package, immediately remove it from your project and replace it with a legitimate version. Review your application for any signs of compromise.

How To Fix

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

npm uninstall react-paginate-v5

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