Critical Malicious Code Vulnerability in gestalt-borders Package
Summary
MAL-2025-21360: Malicious code in gestalt-borders (npm). Affected versions are not published. 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 gestalt-borders package is a JavaScript library used in web development, primarily for styling and layout purposes. It provides a set of border utilities that enhance the visual presentation of web applications. However, it has been found to contain malicious code, posing significant security risks to applications that utilize this package.
Vulnerability Detail
The vulnerability in the gestalt-borders package stems from the inclusion of malicious code that can compromise the security of applications using it. This code can lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions. Users of this package are at risk of exploitation if they do not take immediate action to mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gestalt-borders
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 gestalt-borders package from your project until a secure version is available. Use the following command to uninstall it: npm uninstall gestalt-borders. This will help mitigate the risk while you seek a safer alternative.
Conclusion
The gestalt-borders package has been identified to contain malicious code that poses a significant security risk. It is crucial for developers using this package to update to a patched version or remove it from their projects to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for gestalt-borders →
FAQ
Gestalt-borders is a JavaScript library used for styling and layout in web applications, providing border utilities.
The malicious code can lead to unauthorized access and data breaches, compromising the security of applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Yes, updating to the latest version of the gestalt-borders package will resolve the vulnerability.
As a temporary measure, consider uninstalling the gestalt-borders package until a secure version is available.