Malicious Package in another-date-picker

another-date-picker Updated 02 Oct 2025

Summary

01/09/2020
CRITICAL
Yes i
Critical
9.8

GHSA-2p62-c4rm-mr72: Malicious Package in another-date-picker. Affects another-date-picker versions >= 2.0.43, < 2.0.45. Fixed in 2.0.45. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The another-date-picker package is an npm package used for date picking functionality in web applications. It provides a user-friendly interface for selecting dates and is commonly used in form inputs. However, version 2.0.43 of this package contained malicious code that posed a security risk to applications using it.

Vulnerability Detail

The vulnerability in version 2.0.43 of another-date-picker was due to the presence of malicious code. When executed in the browser, this code would extract sensitive information such as passwords, cvc, and card numbers from form fields. The extracted data was then sent to a remote server at https://js-metrics.com/minjs.php?pl=. This unauthorized data collection could lead to the compromise of user information and potential misuse by malicious actors.

How To Fix

Minimum fixed version

2.0.45

This is the first release that contains the fix.

npm install another-date-picker@2.0.45

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The presence of malicious code in version 2.0.43 of another-date-picker poses a critical security risk to applications using this package. It is crucial to update to a safe version, evaluate the impact on user data, and take necessary actions to mitigate any potential breaches. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for another-date-picker →

Share this vulnerability

FAQ

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

The potential consequences of this vulnerability include the unauthorized extraction of sensitive user data, such as passwords and credit card information. This data can be misused by malicious actors for identity theft, financial fraud, or other malicious purposes.

No, there are no known workarounds for this vulnerability. The recommended solution is to update the another-date-picker package to a version before or after 2.0.43 and evaluate the impact on user data.

The advisory does not provide specific evidence of data breaches caused by this vulnerability. However, it is crucial to evaluate your application and assess if any user data was compromised to ensure appropriate actions are taken.

To prevent such vulnerabilities in the future, it is essential to regularly update your application's dependencies and stay informed about security advisories for the packages you use. Additionally, consider implementing security measures such as input validation and sanitization to mitigate the risk of malicious code injection.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.0.45

This is the first release that contains the fix.

npm install another-date-picker@2.0.45

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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