GHSA-xwg3-gjxh-c8pm Malicious Package in ngx-context-menu

Not scored Published

A malicious npm package steals sensitive form data like passwords and credit card numbers by sending them to an external server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is GHSA-xwg3-gjxh-c8pm?

GHSA-xwg3-gjxh-c8pm is a vulnerability in ngx-context-menu, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Version 0.0.26 of ngx-context-menu contained malicious code. The code when executed in the browser would enumerate password, cvc, cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=

Recommendation

Remove the package from your environment. It's also recommended to evaluate your application to determine whether or not user data was compromised.

Users may consider downgrading to version 0.0.25

Which versions are affected by GHSA-xwg3-gjxh-c8pm?

2 open source packages ship an affected version, including ngx-context-menu.

PackageAffectedFixed in
ngx-context-menu npmAll versionsNone
ngx-context-menu npmAll versionsNone

How do I fix GHSA-xwg3-gjxh-c8pm?

No fix has been published for GHSA-xwg3-gjxh-c8pm yet. Limit exposure of the affected software until one is available.

Is GHSA-xwg3-gjxh-c8pm being exploited?

There is no known exploitation of GHSA-xwg3-gjxh-c8pm in the wild and no public exploit code.

Sources

Is GHSA-xwg3-gjxh-c8pm in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free