GHSA-8qm2-24qc-c4qg Malicious Package in freshdom

Not scored Published

A malicious npm package version steals sensitive form data like passwords and credit card numbers from users.

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-8qm2-24qc-c4qg?

GHSA-8qm2-24qc-c4qg is a vulnerability in freshdom, published on 1 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.6 of freshdom 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

If version 0.0.6 of this module is found installed you will want to replace it with a version before or after 0.0.6. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

Which versions are affected by GHSA-8qm2-24qc-c4qg?

2 open source packages ship an affected version, including freshdom.

PackageAffectedFixed in
freshdom npmAll versionsNone
freshdom npmAll versionsNone

How do I fix GHSA-8qm2-24qc-c4qg?

No fix has been published for GHSA-8qm2-24qc-c4qg yet. Limit exposure of the affected software until one is available.

Is GHSA-8qm2-24qc-c4qg being exploited?

There is no known exploitation of GHSA-8qm2-24qc-c4qg in the wild and no public exploit code.

Sources

Is GHSA-8qm2-24qc-c4qg in your software?

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

Check your SBOMs for free