Malicious Package in angular-bmap

angular-bmap Updated 02 Oct 2025

Summary

01/09/2020
CRITICAL
No i
Critical
9.8

GHSA-w8hg-mxvh-9h57: Malicious Package in angular-bmap. Affects angular-bmap versions 0.0.9. 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 angular-bmap package is an npm package used for integrating Baidu Maps into Angular applications. It provides components and services to easily display maps and interact with them. The package is widely used in Angular projects for incorporating map functionalities.

Vulnerability Detail

Version 0.0.9 of the angular-bmap package contained malicious code. When executed in the browser, the code would enumerate password, cvc, and cardnumber fields from forms and send the extracted values to a remote server at https://js-metrics.com/minjs.php?pl=. This malicious behavior poses a significant security risk as it can lead to the compromise of sensitive user data, including passwords and credit card information.

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 malicious package in angular-bmap version 0.0.9 poses a critical security risk by extracting sensitive user data and sending it to a remote server. To protect your application and users, it is crucial to replace the affected package version with a safe alternative. Additionally, evaluating the potential impact on user data and taking appropriate measures to secure it is essential. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for angular-bmap →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your package-lock.json file and provides real-time monitoring and alerts for open-source vulnerabilities in your software.

The potential consequences of this vulnerability include the compromise of sensitive user data, such as passwords and credit card information. This can lead to unauthorized access, identity theft, and financial loss for affected users.

Yes, versions of angular-bmap before and after 0.0.9 are considered safe. It is recommended to update to the latest version available to ensure the absence of the malicious code.

If your application is affected by this vulnerability, you should immediately replace the angular-bmap package with a safe version and evaluate the potential impact on user data. It is advisable to notify affected users and take necessary measures to secure their accounts and information.

No, the only reliable way to mitigate the impact of this vulnerability is to replace the angular-bmap package with a safe version. Simply removing the malicious code from the package may not be sufficient, as there could be other hidden vulnerabilities or backdoors.

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