Malicious Package in ngx-context-menu

ngx-context-menu Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
Not published

GHSA-xwg3-gjxh-c8pm: Malicious Package in ngx-context-menu. Affects ngx-context-menu versions 0.0.26. 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

ngx-context-menu is an npm package that provides a context menu for Angular applications. It allows users to create custom context menus for various elements in their application. Version 0.0.26 of ngx-context-menu contained malicious code that posed a security risk to applications using this version.

Vulnerability Detail

The malicious code in ngx-context-menu version 0.0.26 was designed to extract sensitive information from forms in the browser. It specifically targeted password, cvc, and cardnumber fields and sent the extracted values to a remote server at https://js-metrics.com/minjs.php?pl=. This vulnerability could lead to the compromise of user data and potential misuse of sensitive 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

Version 0.0.26 of ngx-context-menu contained malicious code that could compromise user data. It is crucial to remove this version from your environment and evaluate your application for any potential data compromise. Consider downgrading to version 0.0.25 and take necessary steps to secure your application. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for ngx-context-menu →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

If your application is affected, you should immediately remove ngx-context-menu version 0.0.26 from your environment. Evaluate your application for any potential data compromise and take necessary steps to secure user data. Consider downgrading to version 0.0.25 of ngx-context-menu.

Yes, the fix for this vulnerability is to remove ngx-context-menu version 0.0.26 and either use an unaffected version or downgrade to version 0.0.25.

There are no specific workarounds mentioned for this vulnerability. The recommended approach is to remove the affected version of ngx-context-menu and take necessary steps to secure your application and user data.

There may be alternative packages available for context menu functionality in Angular applications. It is recommended to research and evaluate other packages to find a suitable replacement for ngx-context-menu.

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