Critical Malicious Code Vulnerability in itsa-react-maskedinput Package
Summary
MAL-2026-17911: Malicious code in itsa-react-maskedinput (npm). Affects itsa-react-maskedinput versions 16.1.2. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The itsa-react-maskedinput package is a JavaScript library used in React applications to create masked input fields, enhancing user experience by guiding input formats. However, it has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the itsa-react-maskedinput package. This code can lead to full system compromise, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code poses significant risks, as it may enable attackers to control the affected system remotely, leading to data breaches and further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall itsa-react-maskedinput
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
There are no effective workarounds for this vulnerability. The only recommended action is to remove the affected package and secure your system.
Conclusion
The itsa-react-maskedinput package contains malicious code that poses a severe security risk. Immediate removal of the package and rotation of sensitive information is essential to mitigate potential damage. Users are encouraged to utilize tools like Vulert for ongoing monitoring of their open-source dependencies.
See every vulnerability recorded for itsa-react-maskedinput →
FAQ
itsa-react-maskedinput is a JavaScript library for React that helps create input fields with specific formatting, enhancing user input experience.
If you have the itsa-react-maskedinput package installed, your system is potentially compromised. You can check your package-lock.json file for its presence.
Immediately rotate all secrets and keys stored on the compromised system from a different, secure environment to prevent unauthorized access.
No patch is available for the itsa-react-maskedinput package. The only solution is to uninstall the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.