Critical Malicious Code Vulnerability in next-styled-nprogress Package
Summary
MAL-2025-190981: Malicious code in next-styled-nprogress (npm). Affects next-styled-nprogress versions 1.0.4 – 1.0.5. 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 next-styled-nprogress package is an npm library designed to provide a styled progress bar for Next.js applications. It enhances user experience by visually indicating loading states. 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 discovery of embedded malicious code within the next-styled-nprogress 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 a significant risk, as it can operate undetected, potentially leading to data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall next-styled-nprogress
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 workaround, consider using alternative packages that provide similar functionality without the associated risks. Always review package dependencies and their security status before installation.
Conclusion
The next-styled-nprogress package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any potentially compromised information. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities in your software.
See every vulnerability recorded for next-styled-nprogress →
FAQ
You should immediately uninstall the package and rotate any sensitive information that may have been compromised.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Yes, consider using other progress bar libraries that have a good security track record and are actively maintained.
Failure to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Regularly check for updates to your packages and use tools like Vulert to monitor for vulnerabilities in real-time.