GHSA-pjxp-f379-6284 Malicious Package in @fangrong/xoc

Not scored Published

A malicious npm package steals credit card and password data from web forms, requiring developers to remove the package and assess data exposure.

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-pjxp-f379-6284?

GHSA-pjxp-f379-6284 is a vulnerability in @fangrong/xoc, 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 1.0.6 of @fangrong/xoc 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 1.0.5

Which versions are affected by GHSA-pjxp-f379-6284?

2 open source packages ship an affected version, including @fangrong/xoc.

PackageAffectedFixed in
@fangrong/xoc npmAll versionsNone
@fangrong/xoc npmAll versionsNone

How do I fix GHSA-pjxp-f379-6284?

No fix has been published for GHSA-pjxp-f379-6284 yet. Limit exposure of the affected software until one is available.

Is GHSA-pjxp-f379-6284 being exploited?

There is no known exploitation of GHSA-pjxp-f379-6284 in the wild and no public exploit code.

Sources

Is GHSA-pjxp-f379-6284 in your software?

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

Check your SBOMs for free