Malicious Package in bmap - Critical Vulnerability

bmap Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-p59g-6cqr-m73w: Malicious Package in bmap. Affects bmap versions 1.0.3. 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 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 bmap package is an npm package used for mapping and geocoding in JavaScript applications. It provides functionality to convert addresses into coordinates and vice versa. The package is widely used in various web applications to integrate location-based services. However, version 1.0.3 of the bmap package has been found to contain malicious code.

Vulnerability Detail

The vulnerability in version 1.0.3 of bmap is due to the presence of malicious code. When executed in a browser, the code extracts sensitive information such as passwords, cvc, and card numbers from form fields. It then sends the extracted values to a remote server at https://js-metrics.com/minjs.php?pl=. This unauthorized data collection can lead to severe consequences, including potential compromise of user data.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The bmap package version 1.0.3 contains a critical vulnerability that allows unauthorized extraction of sensitive user information. It is recommended to replace this version with a secure alternative and evaluate the application for potential data compromise. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for bmap →

Share this vulnerability

FAQ

The impact of this vulnerability can be severe, as it allows unauthorized extraction of sensitive user information from form fields.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. It analyzes the package-lock.json file and provides real-time alerts for open-source vulnerabilities.

Yes, versions of bmap before and after 1.0.3 are considered safe. It is recommended to replace version 1.0.3 with a secure version.

If user data has been compromised, it is essential to take immediate action. This includes notifying affected users, implementing necessary security measures, and potentially involving legal authorities depending on the severity of the breach.

To prevent similar vulnerabilities, it is crucial to regularly update packages to their latest secure versions, perform security audits, and implement secure coding practices. Additionally, using tools like Vulert can help in identifying and addressing vulnerabilities in real-time.

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

No fixed version is published for this vulnerability.

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