Malicious Code Detected in @mparpaillon/imagesloaded Package - Security Alert

@mparpaillon/imagesloaded Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190871: Malicious code in @mparpaillon/imagesloaded (npm). Affects @mparpaillon/imagesloaded versions 4.1.2. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @mparpaillon/imagesloaded package is a JavaScript library used in web development to detect when images have been loaded. It provides functionality to enhance user experience by ensuring that images are displayed correctly and efficiently. However, this package has been found to contain malicious code, which poses a significant security risk to applications that utilize it.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the @mparpaillon/imagesloaded package. This code can potentially compromise the security of applications that depend on this library, leading to unauthorized access, data breaches, or other malicious activities. The specific version identified with this vulnerability is 4.1.2, and it has been flagged by Amazon Inspector as a significant threat.

How To Fix

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

npm uninstall @mparpaillon/imagesloaded

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

If immediate updating is not feasible, consider removing the @mparpaillon/imagesloaded package from your project and replacing it with a trusted alternative that provides similar functionality without the associated risks.

Conclusion

The discovery of malicious code in the @mparpaillon/imagesloaded package highlights the importance of maintaining secure dependencies in software development. By updating to a patched version or replacing the package, developers can mitigate the risks associated with this vulnerability. Utilizing tools like Vulert can further enhance security by providing real-time alerts for open-source vulnerabilities.

See every vulnerability recorded for @mparpaillon/imagesloaded →

Share this vulnerability

FAQ

The malicious code can perform unauthorized actions within applications, potentially leading to data theft or system compromise.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can identify if your application is affected.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Consider removing the @mparpaillon/imagesloaded package and replacing it with a secure alternative until you can perform the update.

Regularly check the repositories of the packages you use and consider using tools like Vulert for real-time monitoring of vulnerabilities.

How To Fix

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

npm uninstall @mparpaillon/imagesloaded

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